/*
Theme Name: Lumen Learn
Theme URI: https://www.lumen-learn.ro
Description: Temă WordPress personalizată pentru Lumen Learn - Training & Languages Hub
Version: 2.0
Author: Lumen Learn
Author URI: https://www.lumen-learn.ro
Text Domain: lumen-learn
*/

/* Reset și bază */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Updated color scheme to match EdVenture design */
  --color-navy: #1e3a5f;
  --color-orange: #ef5a2a;
  --color-light-orange: #ff7a50;
  --color-white: #ffffff;
  --color-black: #1a1a1a;
  --color-light-grey: #f5f7fa;
  --color-light-pink: #fef5f3;
  --color-text-grey: #5a6c7d;
  --color-border: #e8ecef;

  /* Fonturi */
  --font-heading: "Lato", sans-serif;
  --font-body: "Roboto", sans-serif;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-navy);
  background-color: var(--color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-navy);
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-grey);
  line-height: 1.7;
}

a {
  color: var(--color-orange);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-light-orange);
}

/* Container */
.container {
  /* Increased max-width from 1200px to 1400px for blog page */
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Updated header to white background with navy text */
.site-header {
  background-color: var(--color-white);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--color-border);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.site-logo {
  flex-shrink: 0;
}

.site-logo img {
  height: 60px;
  width: auto;
}

.custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.custom-logo {
  height: 60px;
  width: auto;
  max-width: 250px;
  display: block;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 1001;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  margin-left: auto;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--color-navy);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Enhanced mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Centered navigation menu */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-navigation .nav-menu,
.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-navigation a {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}

.main-navigation a:hover,
.main-navigation a.active,
.main-navigation .current-menu-item > a {
  color: var(--color-orange);
}

.main-navigation a:hover::after,
.main-navigation a.active::after,
.main-navigation .current-menu-item > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background-color: var(--color-orange);
  border-radius: 2px;
}

.star-icon {
  font-size: 0.9rem;
}

/* Header actions - contact button and search */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-contact {
  padding: 0.75rem 1.75rem;
  border: 2px solid var(--color-orange);
  color: var(--color-orange);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-contact:hover {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.search-toggle {
  background: none;
  border: none;
  color: var(--color-navy);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.search-toggle:hover {
  color: var(--color-orange);
}

/* Mega menu dropdown styles */
.main-navigation .menu-item-has-children {
  position: relative;
}

.main-navigation .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-navy);
  min-width: 280px;
  padding: 1.5rem;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  gap: 0;
  z-index: 1000;
}

.main-navigation .menu-item-has-children:hover .sub-menu {
  display: flex;
}

.main-navigation .sub-menu li {
  width: 100%;
}

.main-navigation .sub-menu a {
  color: var(--color-white);
  padding: 0.875rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.main-navigation .sub-menu a:hover {
  color: var(--color-white);
  background-color: rgba(239, 90, 42, 0.15);
  padding-left: 1.25rem;
}

.main-navigation .sub-menu a::after {
  display: none;
}

/* Updated hero section with light background and navy text */
.hero-section {
  background: linear-gradient(135deg, var(--color-light-pink) 0%, #fff5f2 100%);
  color: var(--color-navy);
  padding: 6rem 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-navy);
}

.hero-content .tagline {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--color-orange);
  font-weight: 600;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-grey);
}

/* Added corporate hero section styles */
.corporate-hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-light-pink) 0%, #fff5f2 100%);
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-label {
  color: var(--color-text-grey);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  color: var(--color-navy);
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 0;
}

.highlight-text {
  color: var(--color-orange);
  font-weight: 700;
}

.hero-description {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1rem 0;
}

.hero-col p {
  color: var(--color-text-grey);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-navy);
  font-size: 0.95rem;
}

.hero-feature svg {
  color: var(--color-orange);
  flex-shrink: 0;
}

/* Updated buttons to orange primary color */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-light-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 90, 42, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn-secondary:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* Sections */
.section {
  padding: 5rem 0;
}

/* Added orange underline to section titles */
.section-title {
  text-align: center;
  color: var(--color-navy);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--color-orange);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-grey);
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid Layout */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Updated cards with softer shadows and hover effects */
.card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-light-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.card-title {
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.card-description {
  color: var(--color-text-grey);
  margin-bottom: 1.5rem;
}

/* Course Cards */
.course-card {
  background: var(--color-white);
  border-left: 4px solid var(--color-orange);
}

.course-card h3 {
  color: var(--color-navy);
}

.course-meta {
  display: flex;
  gap: 1.5rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--color-text-grey);
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Updated features grid with icon styling */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: var(--color-light-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  border: 3px solid var(--color-orange);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-navy);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-orange);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Updated footer to navy background */
.site-footer {
  background-color: #f5f5f5;
  color: #333;
  padding: 4rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 0;
  border-bottom: none;
}

.footer-about {
  max-width: 100%;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-about .tagline {
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-about .footer-description {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-locations {
  margin-top: 1.5rem;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.6;
}

.location-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.footer-section h3 {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Updated footer list styling to match EdVenture design - clean, simple, no bullets */
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-section a {
  color: #333;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--color-orange);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Added contact icon styling */
.contact-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-contact ul li span:not(.contact-icon) {
  color: var(--color-white);
  font-size: 0.95rem;
}

/* Added Legal section styling below main columns */
.footer-legal {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-legal h3 {
  color: var(--color-orange);
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-legal ul li {
  margin-bottom: 0;
}

.footer-legal a {
  color: var(--color-white);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-orange);
}

/* Added copyright bar with split layout */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid #ddd;
  color: #666;
  font-size: 0.9rem;
}

.footer-copyright p {
  margin: 0;
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-links a {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: var(--color-orange);
}

/* Added testimonial card styles */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.testimonial-rating {
  color: var(--color-orange);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--color-text-grey);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-light-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-orange);
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--color-navy);
}

.testimonial-info p {
  font-size: 0.9rem;
  color: var(--color-text-grey);
  margin: 0;
}

/* Completely rewriting newsletter section CSS to match exact design */
.newsletter-section {
  background-color: var(--color-orange);
  padding: 4rem 0;
  text-align: center;
}

.newsletter-section h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 700;
}

.newsletter-section p {
  color: var(--color-white);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.newsletter-form {
  max-width: 700px;
  margin: 0 auto;
}

/* Target CF7 form directly */
.newsletter-section .wpcf7 {
  margin: 0;
}

.newsletter-section .wpcf7-form {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
}

.newsletter-section .wpcf7-form p {
  margin: 0;
  display: flex;
  gap: 1rem;
  width: 100%;
  align-items: flex-start;
}

/* Hide labels */
.newsletter-section .wpcf7-form label {
  display: contents;
}

/* Email input styling */
.newsletter-section .wpcf7-form-control-wrap {
  flex: 1;
  display: block;
}

.newsletter-section input[type="email"],
.newsletter-section .wpcf7-email {
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background-color: var(--color-white);
  color: var(--color-navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.newsletter-section input[type="email"]::placeholder,
.newsletter-section .wpcf7-email::placeholder {
  color: #999;
}

.newsletter-section input[type="email"]:focus,
.newsletter-section .wpcf7-email:focus {
  outline: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Submit button styling */
.newsletter-section .wpcf7-submit,
.newsletter-section input[type="submit"] {
  padding: 1rem 2.5rem;
  background-color: var(--color-navy);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.newsletter-section .wpcf7-submit:hover,
.newsletter-section input[type="submit"]:hover {
  background-color: #152a45;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* Response messages */
.newsletter-section .wpcf7-response-output {
  margin-top: 1.5rem;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  background-color: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 8px;
}

/* Validation errors */
.newsletter-section .wpcf7-not-valid-tip {
  color: var(--color-white);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
  text-align: left;
}

.newsletter-section .wpcf7-not-valid {
  border: 2px solid #ffeb3b !important;
}

/* Spinner */
.newsletter-section .wpcf7-spinner {
  margin-left: 1rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .newsletter-section h2 {
    font-size: 1.5rem;
  }

  .newsletter-section p {
    font-size: 1rem;
  }

  .newsletter-section .wpcf7-form,
  .newsletter-section .wpcf7-form p {
    flex-direction: column;
    gap: 1rem;
  }

  .newsletter-section input[type="email"],
  .newsletter-section .wpcf7-email {
    width: 100%;
  }

  .newsletter-section .wpcf7-submit,
  .newsletter-section input[type="submit"] {
    width: 100%;
    padding: 1rem;
  }
}

/* Company logos carousel styles */
.clients-carousel-section {
  padding: 4rem 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.carousel-title {
  text-align: center;
  color: var(--color-navy);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.clients-carousel-wrapper {
  overflow: hidden;
  padding: 1rem 0;
}

.clients-carousel {
  display: flex;
  align-items: center;
  gap: 4rem;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.clients-carousel:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.client-logo {
  flex: 0 0 auto;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.client-logo img {
  height: 60px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.client-logo .client-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 1px;
}

/* Corporate services section styles */
.corporate-services-section {
  padding: 5rem 0;
  background-color: var(--color-white);
}

.section-label {
  text-align: center;
  color: var(--color-text-grey);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title-large {
  text-align: center;
  color: var(--color-navy);
  font-size: 2rem;
  line-height: 1.5;
  max-width: 900px;
  margin: 0 auto 4rem;
  font-weight: 400;
}

.highlight-underline {
  position: relative;
  font-weight: 700;
}

.highlight-underline::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-orange);
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--color-light-grey);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-icon {
  color: var(--color-navy);
  margin: 0 auto 1.5rem;
  width: 64px;
  height: 64px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  color: var(--color-navy);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.service-description {
  color: var(--color-text-grey);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: left;
}

/* Dedicated mobile menu styles based on working implementation */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--color-white);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
  z-index: 999;
  overflow-y: auto;
  padding-top: 5rem;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav {
  padding: 0;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list > li {
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-orange);
  background-color: var(--color-light-pink);
}

/* Submenu styles for mobile */
.mobile-nav-list .has-submenu {
  position: relative;
}

.submenu-toggle {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  margin-left: auto;
}

.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: var(--color-light-grey);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.has-submenu.submenu-open .mobile-submenu {
  max-height: 500px;
}

.mobile-submenu li {
  border-bottom: 1px solid var(--color-border);
}

.mobile-submenu .mobile-nav-link {
  padding: 1rem 2rem 1rem 3rem;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Mobile nav button (CTA) */
.mobile-nav-button {
  padding: 1.5rem 2rem;
  border-bottom: none;
}

.mobile-nav-button .btn {
  width: 100%;
  justify-content: center;
}

.btn-block {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Body scroll lock when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* Enhanced responsive styles for better mobile optimization */
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
    order: 3;
  }

  /* Hide desktop navigation on tablets and mobile */
  .main-navigation {
    display: none;
  }

  /* Show mobile menu on tablets and mobile devices */
  .mobile-menu {
    display: block;
  }

  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
    z-index: 999;
  }

  .main-navigation.active {
    right: 0;
  }

  .main-navigation .nav-menu,
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    align-items: stretch;
  }

  /* Better touch targets for mobile menu items */
  .main-navigation a {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.05rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .main-navigation a::after {
    display: none !important;
  }

  /* Improved submenu handling on mobile */
  .main-navigation .sub-menu {
    position: static;
    display: none;
    min-width: auto;
    width: 100%;
    padding: 0.5rem 0 0.5rem 1.5rem;
    background-color: var(--color-light-grey);
    box-shadow: none;
    border-radius: 0;
    margin-top: 0.5rem;
  }

  .main-navigation .menu-item-has-children.submenu-open .sub-menu {
    display: flex;
  }

  .main-navigation .sub-menu a {
    color: var(--color-navy);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  /* Hide contact button text on tablets, show icon only */
  .btn-contact {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  body.menu-open {
    overflow: hidden;
  }

  .clients-carousel {
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-image {
    order: 2;
  }

  .hero-content {
    order: 1;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  /* Optimized header for small mobile devices */
  .site-header {
    padding: 1rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .site-logo img,
  .custom-logo {
    height: 40px;
  }

  /* Hide contact button completely on mobile */
  .btn-contact {
    display: none;
  }

  /* Larger touch target for search button on mobile */
  .search-toggle {
    padding: 0.75rem;
    min-width: 44px;
    min-height: 44px;
  }

  .search-toggle svg {
    width: 22px;
    height: 22px;
  }

  /* Full width mobile menu on small screens */
  .mobile-menu {
    width: 90%;
    max-width: 100%;
  }

  .mobile-nav-link {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }

  .mobile-submenu .mobile-nav-link {
    padding: 0.875rem 1.5rem 0.875rem 2.5rem;
    font-size: 0.9rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-about {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .client-logo img {
    height: 40px;
  }

  .section-title-large {
    font-size: 1.5rem;
  }

  .service-card {
    padding: 2rem;
  }

  .corporate-hero {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-description {
    gap: 1rem;
  }

  .clients-carousel {
    gap: 2rem;
  }

  /* Better spacing for mobile sections */
  .section {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

/* Extra small devices optimization */
@media (max-width: 480px) {
  .site-logo img,
  .custom-logo {
    height: 35px;
  }

  .mobile-menu-toggle {
    padding: 0.5rem;
  }

  .mobile-menu {
    width: 100%;
    padding-top: 4rem;
  }

  .mobile-nav-link {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }

  .mobile-submenu .mobile-nav-link {
    padding: 0.875rem 1.25rem 0.875rem 2rem;
    font-size: 0.85rem;
  }

  .section-title-large {
    font-size: 1.25rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}

.bg-light {
  background-color: var(--color-light-grey);
}
.bg-white {
  background-color: var(--color-white);
}
.bg-light-pink {
  background-color: var(--color-light-pink);
}

.color-navy {
  color: var(--color-navy);
}
.color-orange {
  color: var(--color-orange);
}
.color-grey {
  color: var(--color-text-grey);
}

/* Course Detail Page Styles */
.course-detail-page {
  background-color: var(--color-white);
}

/* Course Hero Section */
.course-hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-light-pink) 0%, #fff5f2 100%);
}

.course-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.course-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.course-hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.course-category {
  color: var(--color-navy);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.course-title {
  color: var(--color-navy);
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.course-intro {
  color: var(--color-text-grey);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.course-description {
  color: var(--color-text-grey);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.course-highlights {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.course-highlights li {
  color: var(--color-navy);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.15rem;
}

/* Features Grid for Course Page */
.section-header-center {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-intro {
  color: var(--color-text-grey);
  font-size: 1.1rem;
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-box {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 2px solid var(--color-border);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--color-orange);
}

.feature-box .feature-icon {
  width: 70px;
  height: 70px;
  background-color: transparent;
  border: 3px solid var(--color-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-box h3 {
  color: var(--color-navy);
  font-size: 1.15rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-box p {
  color: var(--color-text-grey);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Tabs Navigation */
.tabs-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0 2rem;
  border-bottom: 2px solid var(--color-border);
  flex-wrap: wrap;
}

.tab-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--color-text-grey);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: -2px;
  min-height: 44px;
}

.tab-button:hover {
  color: var(--color-navy);
  background-color: var(--color-light-pink);
}

.tab-button.active {
  color: var(--color-navy);
  border-bottom-color: var(--color-orange);
}

.tab-button svg {
  width: 20px;
  height: 20px;
}

/* Tabs Content */
.tabs-content {
  margin-top: 3rem;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tab-text h3 {
  color: var(--color-navy);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.tab-text p {
  color: var(--color-text-grey);
  font-size: 1rem;
  line-height: 1.8;
}

.tab-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-navy) 0%, #152a45 100%);
  text-align: center;
}

.cta-content h2 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive styles for course detail page */
@media (max-width: 1024px) {
  .course-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .course-hero-image {
    order: 2;
  }

  .course-hero-content {
    order: 1;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .tab-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .tabs-navigation {
    gap: 0.5rem;
  }

  .tab-button {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .course-title {
    font-size: 2rem;
  }

  .course-intro,
  .course-description {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .tabs-navigation {
    flex-direction: column;
    border-bottom: none;
  }

  .tab-button {
    width: 100%;
    justify-content: center;
    border-bottom: 2px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 0.5rem;
  }

  .tab-button.active {
    background-color: var(--color-orange);
    color: var(--color-white);
    border-color: var(--color-orange);
  }

  .tab-text h3 {
    font-size: 1.5rem;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .cta-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .course-hero {
    padding: 3rem 0;
  }

  .course-title {
    font-size: 1.75rem;
  }

  .tab-button {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }

  .tab-text h3 {
    font-size: 1.25rem;
  }
}

/* Contact Form 7 Custom Styles */

/* General CF7 form styling */
.wpcf7-form {
  max-width: 100%;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* CF7 Subscription Form (Newsletter) */
.cf7-subscription-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cf7-subscription-form label {
  display: block;
  width: 100%;
}

.cf7-subscription-form input[type="email"] {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  background-color: var(--color-white);
}

.cf7-subscription-form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-orange);
}

.cf7-subscription-form .gdpr-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.cf7-subscription-form .gdpr-consent input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.cf7-subscription-form .gdpr-consent a {
  color: var(--color-orange);
  text-decoration: underline;
}

.cf7-subscription-form input[type="submit"] {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background-color: var(--color-orange);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cf7-subscription-form input[type="submit"]:hover {
  background-color: var(--color-light-orange);
  transform: translateY(-2px);
}

/* CF7 Contact Form (Full Contact Page) */
.cf7-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cf7-contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cf7-contact-form label {
  display: block;
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.95rem;
}

.cf7-contact-form input[type="text"],
.cf7-contact-form input[type="email"],
.cf7-contact-form input[type="tel"],
.cf7-contact-form select,
.cf7-contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: var(--color-white);
}

.cf7-contact-form input:focus,
.cf7-contact-form select:focus,
.cf7-contact-form textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}

.cf7-contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.cf7-contact-form .gdpr-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-grey);
  line-height: 1.6;
}

.cf7-contact-form .gdpr-consent input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cf7-contact-form .gdpr-consent a {
  color: var(--color-orange);
  text-decoration: underline;
}

.cf7-contact-form input[type="submit"] {
  width: 100%;
  padding: 1.25rem 2rem;
  background-color: var(--color-orange);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cf7-contact-form input[type="submit"]:hover {
  background-color: var(--color-light-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 90, 42, 0.3);
}

/* CF7 CTA Form (Course Pages) */
.cf7-cta-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-form-wrapper {
  margin-top: 2rem;
}

.cf7-cta-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cf7-cta-form label {
  display: block;
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.95rem;
}

.cf7-cta-form input[type="text"],
.cf7-cta-form input[type="email"],
.cf7-cta-form input[type="tel"],
.cf7-cta-form select,
.cf7-cta-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: var(--color-white);
}

.cf7-cta-form input:focus,
.cf7-cta-form select:focus,
.cf7-cta-form textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}

.cf7-cta-form textarea {
  min-height: 100px;
  resize: vertical;
}

.cf7-cta-form .gdpr-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-grey);
  line-height: 1.6;
}

.cf7-cta-form .gdpr-consent input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cf7-cta-form .gdpr-consent a {
  color: var(--color-orange);
  text-decoration: underline;
}

.cf7-cta-form input[type="submit"] {
  width: 100%;
  padding: 1.25rem 2rem;
  background-color: var(--color-orange);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cf7-cta-form input[type="submit"]:hover {
  background-color: var(--color-light-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 90, 42, 0.3);
}

/* CF7 Response Messages */
.wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.wpcf7-mail-sent-ok {
  background-color: #d4edda;
  border: 2px solid #28a745;
  color: #155724;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
  background-color: #f8d7da;
  border: 2px solid #dc3545;
  color: #721c24;
}

.wpcf7-spam-blocked {
  background-color: #fff3cd;
  border: 2px solid #ffc107;
  color: #856404;
}

/* CF7 Validation Errors */
.wpcf7-not-valid-tip {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: block;
}

.wpcf7-not-valid {
  border-color: #dc3545 !important;
}

/* CF7 Spinner */
.wpcf7-spinner {
  margin-left: 1rem;
  display: inline-block;
}

/* Footer Newsletter Specific Styles */
.footer-newsletter {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter h4 {
  color: var(--color-orange);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Responsive CF7 Styles */
@media (max-width: 768px) {
  .cf7-cta-form {
    padding: 2rem 1.5rem;
  }

  .cf7-contact-form input[type="submit"],
  .cf7-cta-form input[type="submit"] {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .cf7-cta-form {
    padding: 1.5rem 1rem;
  }

  .cf7-subscription-form input[type="submit"] {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* Added contact page two-column layout styles */
.contact-page {
  min-height: 100vh;
}

.contact-section {
  display: flex;
  min-height: 100vh;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 100vh;
}

.contact-info {
  background-color: #ffffff;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e3a8a;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.contact-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.contact-heading .highlight-orange {
  color: #ef5a2a;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 0.75rem;
  color: #1e3a8a;
  font-size: 1rem;
}

.contact-item strong {
  font-weight: 600;
}

.contact-item a {
  color: #1e3a8a;
  text-decoration: none;
}

.contact-item a:hover {
  color: #ef5a2a;
}

.contact-locations {
  margin-bottom: 2rem;
}

.location-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #1e3a8a;
  font-size: 0.95rem;
  line-height: 1.6;
}

.location-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.location-item strong {
  font-weight: 600;
}

.contact-schedule {
  margin-bottom: 2rem;
  color: #1e3a8a;
}

.contact-schedule p {
  margin-bottom: 0.5rem;
}

.contact-schedule strong {
  font-weight: 700;
}

.schedule-note {
  font-size: 0.9rem;
  color: #1e3a8a;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border: 2px solid #ef5a2a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef5a2a;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #ef5a2a;
  color: #ffffff;
}

.contact-form-wrapper {
  background-color: #ef8b6f;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2rem;
}

/* Updated CF7 contact form styles for the orange background design */
.contact-form-wrapper .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form input[type="tel"],
.contact-form-wrapper .wpcf7-form textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: #ffffff;
  color: #333;
}

.contact-form-wrapper .wpcf7-form input::placeholder,
.contact-form-wrapper .wpcf7-form textarea::placeholder {
  color: #999;
}

.contact-form-wrapper .wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-wrapper .wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 1rem 2rem;
  background-color: #4a9fd8;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form-wrapper .wpcf7-form input[type="submit"]:hover {
  background-color: #3a8fc8;
}

.contact-form-wrapper .gdpr-text {
  font-size: 0.85rem;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.contact-form-wrapper .wpcf7-response-output {
  color: #ffffff;
  border-color: #ffffff;
}

.contact-form-wrapper .wpcf7-not-valid-tip {
  color: #ffffff;
  font-size: 0.85rem;
}

/* Added GDPR notice text in contact form */
.cf7-contact-form .gdpr-notice {
  margin-bottom: 1.5rem;
}

.cf7-contact-form .gdpr-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.cf7-contact-form .gdpr-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.cf7-contact-form .gdpr-consent input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cf7-contact-form .gdpr-consent a {
  color: var(--color-orange);
  text-decoration: underline;
}

/* Responsive design for contact page */
@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form-wrapper {
    padding: 3rem 2rem;
  }

  .contact-heading {
    font-size: 2rem;
  }

  .form-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  .contact-info,
  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .contact-heading {
    font-size: 1.75rem;
  }

  .form-title {
    font-size: 1.5rem;
  }
}

/* Corporate Form Wrapper */
.corporate-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

/* CF7 Corporate Form Styles */
.cf7-corporate-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cf7-corporate-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cf7-corporate-form label {
  display: block;
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.95rem;
}

.cf7-corporate-form input[type="text"],
.cf7-corporate-form input[type="email"],
.cf7-corporate-form input[type="tel"],
.cf7-corporate-form input[type="number"],
.cf7-corporate-form select,
.cf7-corporate-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: var(--color-white);
}

.cf7-corporate-form input:focus,
.cf7-corporate-form select:focus,
.cf7-corporate-form textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}

.cf7-corporate-form textarea {
  min-height: 120px;
  resize: vertical;
}

.cf7-corporate-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.cf7-corporate-form .gdpr-notice {
  margin-top: 0.5rem;
}

.cf7-corporate-form .gdpr-text {
  font-size: 0.85rem;
  color: var(--color-text-grey);
  line-height: 1.6;
  margin: 0;
  padding: 0.75rem;
  background-color: #f8f9fa;
  border-radius: 4px;
  border-left: 3px solid var(--color-orange);
}

.cf7-corporate-form input[type="submit"] {
  width: 100%;
  padding: 1.25rem 2rem;
  background-color: var(--color-orange);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.cf7-corporate-form input[type="submit"]:hover {
  background-color: var(--color-light-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 90, 42, 0.3);
}

.cf7-corporate-form .wpcf7-not-valid-tip {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.cf7-corporate-form .wpcf7-response-output {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 4px;
}

/* Enhanced corporate form section design with better spacing and visual hierarchy */
.corporate-form-section {
  padding: 5rem 0;
}

.corporate-form-section .form-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.corporate-form-section .section-label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 1rem;
}

.corporate-form-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.corporate-form-section .section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-grey);
  line-height: 1.6;
  margin: 0;
}

.corporate-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* CF7 Corporate Form Styles */
.cf7-corporate-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cf7-corporate-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cf7-corporate-form label {
  display: block;
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.cf7-corporate-form input[type="text"],
.cf7-corporate-form input[type="email"],
.cf7-corporate-form input[type="tel"],
.cf7-corporate-form input[type="number"],
.cf7-corporate-form select,
.cf7-corporate-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--color-white);
}

.cf7-corporate-form input:focus,
.cf7-corporate-form select:focus,
.cf7-corporate-form textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(239, 90, 42, 0.1);
}

.cf7-corporate-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.cf7-corporate-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23374151' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.cf7-corporate-form .gdpr-notice {
  margin-top: 0.5rem;
}

.cf7-corporate-form .gdpr-text {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  padding: 1rem 1.25rem;
  background-color: #f9fafb;
  border-radius: 8px;
  border-left: 4px solid var(--color-orange);
}

.cf7-corporate-form input[type="submit"] {
  width: 100%;
  padding: 1.25rem 2rem;
  background-color: var(--color-orange);
  color: var(--color-white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.cf7-corporate-form input[type="submit"]:hover {
  background-color: var(--color-light-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 90, 42, 0.25);
}

.cf7-corporate-form input[type="submit"]:active {
  transform: translateY(0);
}

.cf7-corporate-form .wpcf7-not-valid-tip {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.cf7-corporate-form .wpcf7-response-output {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.cf7-corporate-form .wpcf7-response-output.wpcf7-validation-errors {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.cf7-corporate-form .wpcf7-response-output.wpcf7-mail-sent-ok {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}

/* Added comprehensive blog list page styles */

/* Blog Page Layout */
.blog-page {
  background-color: var(--color-white);
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    order: 2;
  }
}

/* Blog Filters */
.blog-filters {
  margin-bottom: 2rem;
}

.blog-search-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.search-input {
  flex: 1;
  min-width: 250px;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.blog-search-form .btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

/* Added clear search button styles */
.blog-search-form .clear-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Added search results header styles */
.search-results-header {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-left: 4px solid var(--color-orange);
  border-radius: 8px;
}

.search-results-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--color-navy);
  font-weight: 600;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  /* Updated grid to show 3 columns on desktop for 1400px width */
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 1200px) {
  .blog-grid {
    /* 2 columns on tablets */
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    /* 1 column on mobile for optimal mobile experience */
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Mobile optimizations */
  .blog-card {
    margin-bottom: 0;
  }

  .blog-filters {
    flex-direction: column;
    gap: 1rem;
  }

  .blog-search-form {
    width: 100%;
    flex-direction: column;
  }

  /* Stack search buttons vertically on mobile */
  .blog-search-form .btn {
    width: 100%;
    justify-content: center;
  }

  .search-input {
    min-width: 100%;
  }

  .category-filter {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* Adjust search results header for mobile */
  .search-results-header {
    padding: 1rem;
  }

  .search-results-header h2 {
    font-size: 1rem;
  }
}

/* Blog Card */
.blog-card {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  display: block;
  background-color: var(--color-light-grey);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-light-grey) 0%, var(--color-border) 100%);
}

.blog-card-placeholder svg {
  opacity: 0.3;
  stroke: var(--color-navy);
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.blog-category-badge {
  padding: 0.25rem 0.75rem;
  background-color: rgba(255, 107, 53, 0.1);
  color: var(--color-orange);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.blog-category-badge:hover {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.blog-card-title {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

.blog-card-title a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-title a:hover {
  color: var(--color-orange);
}

.blog-card-excerpt {
  color: var(--color-text-grey);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  margin-bottom: 1rem;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-text-grey);
  font-size: 0.875rem;
}

.blog-meta-item svg {
  opacity: 0.6;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-orange);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.blog-read-more:hover {
  gap: 0.75rem;
}

/* Blog Pagination */
.blog-pagination {
  margin-top: 3rem;
}

.blog-pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-pagination li {
  margin: 0;
}

.blog-pagination a,
.blog-pagination span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.blog-pagination a:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
}

.blog-pagination .current {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
}

.blog-pagination svg {
  width: 16px;
  height: 16px;
}

/* Blog Empty State */
.blog-empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.blog-empty-state svg {
  margin: 0 auto 1.5rem;
  opacity: 0.3;
  stroke: var(--color-navy);
}

.blog-empty-state h3 {
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.blog-empty-state p {
  color: var(--color-text-grey);
  margin-bottom: 2rem;
}

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: 2rem;
  height: fit-content;
}

.sidebar-widget {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.widget-title {
  color: var(--color-navy);
  font-size: 1.25rem;
  margin: 0 0 1.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-orange);
}

/* Recent Posts Widget */
.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-post-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.recent-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-post-item:first-child {
  padding-top: 0;
}

.recent-post-thumb {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.recent-post-title {
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.recent-post-title:hover {
  color: var(--color-orange);
}

.recent-post-date {
  color: var(--color-text-grey);
  font-size: 0.8rem;
}

/* Categories Widget */
.categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-list li {
  margin-bottom: 0.75rem;
}

.categories-list li:last-child {
  margin-bottom: 0;
}

.categories-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.categories-list a:hover {
  color: var(--color-orange);
}

.category-count {
  color: var(--color-text-grey);
  font-size: 0.875rem;
}

/* Tags Cloud Widget */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-item {
  padding: 0.5rem 1rem;
  background-color: var(--color-light-grey);
  border-radius: 20px;
  color: var(--color-navy);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag-item:hover {
  background-color: var(--color-orange);
  color: var(--color-white);
}

/* Newsletter Widget */
.sidebar-newsletter {
  background: linear-gradient(135deg, var(--color-orange) 0%, #ff8c5a 100%);
  color: var(--color-white);
}

.sidebar-newsletter .widget-title {
  color: var(--color-white);
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.sidebar-newsletter p {
  margin-bottom: 1rem;
  opacity: 0.95;
}

.sidebar-newsletter .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-newsletter input[type="email"] {
  padding: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-size: 0.9rem;
}

.sidebar-newsletter input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.sidebar-newsletter input[type="email"]:focus {
  outline: none;
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.2);
}

.sidebar-newsletter .wpcf7-submit {
  padding: 0.75rem 1.5rem;
  background-color: var(--color-white);
  color: var(--color-orange);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sidebar-newsletter .wpcf7-submit:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* ===================================
   Single Post Page Styles
   =================================== */

.single-post-page {
  background: #fff;
}

/* Hero Section */
.single-post-hero {
  position: relative;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-indigo) 100%);
  color: #fff;
  overflow: hidden;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 33, 61, 0.9) 0%, rgba(52, 73, 94, 0.85) 100%);
}

.hero-content-wrapper {
  position: relative;
  z-index: 1;
  /* Increased max-width from 900px to 1200px to give title more space */
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.post-category-badge {
  display: inline-block;
  /* Reduced padding to make badge narrower */
  padding: 0.5rem 1.5rem;
  background: var(--color-orange);
  color: #fff;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  /* Added max-width to prevent badge from being too wide */
  max-width: fit-content;
}

.post-title {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  /* Added max-width to allow title to expand more */
  max-width: 100%;
}

.post-meta-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.9);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.meta-item svg {
  opacity: 0.8;
}

/* Content Section */
.single-post-content-section {
  padding: 4rem 0;
  max-width: 1400px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  align-items: start;
}

/* Article Main Content */
.article-main {
  background: #fff;
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-grey);
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--color-navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.article-content h2 {
  font-size: 2rem;
}

.article-content h3 {
  font-size: 1.5rem;
}

.article-content h4 {
  font-size: 1.25rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.75rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
}

.article-content blockquote {
  border-left: 4px solid var(--color-orange);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--color-navy);
  font-size: 1.25rem;
}

.article-content a {
  color: var(--color-orange);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.article-content a:hover {
  color: var(--color-navy);
}

/* Post Tags */
.post-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #f0f0f0;
}

.post-tags strong {
  color: var(--color-navy);
  font-size: 1rem;
  margin-bottom: 1rem;
  display: block;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f5f5f5;
  color: var(--color-navy);
  border-radius: 20px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag-badge:hover {
  background: var(--color-orange);
  color: #fff;
  transform: translateY(-2px);
}

/* Share Buttons */
.post-share {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #f0f0f0;
}

.post-share strong {
  color: var(--color-navy);
  font-size: 1rem;
  margin-bottom: 1rem;
  display: block;
}

.share-buttons {
  display: flex;
  gap: 1rem;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.share-facebook {
  background: #1877f2;
}

.share-twitter {
  background: #1da1f2;
}

.share-linkedin {
  background: #0077b5;
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid #f0f0f0;
}

.nav-post {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-post:hover {
  background: var(--color-orange);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-post:hover .nav-label,
.nav-post:hover .nav-title {
  color: #fff;
}

.nav-label {
  font-size: 0.875rem;
  color: var(--color-text-grey);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-title {
  font-size: 1.125rem;
  color: var(--color-navy);
  font-weight: 600;
  line-height: 1.4;
}

.nav-next {
  text-align: right;
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-orange);
}

/* Author Widget */
.author-widget {
  text-align: center;
}

.author-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-orange);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.author-bio {
  font-size: 0.95rem;
  color: var(--color-text-grey);
  line-height: 1.6;
}

/* Categories List */
.categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-list li {
  margin-bottom: 0.75rem;
}

.categories-list li:last-child {
  margin-bottom: 0;
}

.categories-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.categories-list a:hover {
  background: var(--color-orange);
  color: #fff;
  transform: translateX(5px);
}

.categories-list span {
  color: var(--color-text-grey);
  font-size: 0.875rem;
}

.categories-list a:hover span {
  color: rgba(255, 255, 255, 0.9);
}

/* Tags Cloud */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-cloud-item {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f5f5f5;
  color: var(--color-navy);
  border-radius: 20px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag-cloud-item:hover {
  background: var(--color-orange);
  color: #fff;
}

/* Related Posts Section */
.related-posts-section {
  padding: 4rem 0;
}

.related-posts-section .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Single Post CTA */
.single-post-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-indigo) 100%);
  color: #fff;
  text-align: center;
}

.single-post-cta .cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.single-post-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.single-post-cta p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .post-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .single-post-hero {
    padding: 6rem 0 3rem;
  }

  .post-title {
    font-size: 2rem;
  }

  .post-meta-header {
    gap: 1rem;
  }

  .single-post-content-section {
    padding: 3rem 0;
  }

  .article-content {
    font-size: 1rem;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .nav-next {
    text-align: left;
  }

  .single-post-cta h2 {
    font-size: 2rem;
  }

  .single-post-cta p {
    font-size: 1rem;
  }
}
/* Adjusted mobile max-width for better spacing */
@media (max-width: 768px) {
  .hero-content-wrapper {
    max-width: 100%;
    padding: 0 1rem;
  }

  .post-category-badge {
    /* Reduced padding on mobile for narrower badge */
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
  }

  .post-title {
    font-size: 1.75rem;
  }
}

/* Homepage Hero Section Mobile Optimization */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-content .tagline {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }

  /* Stack buttons vertically on mobile */
  .hero-content > div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100%;
    padding: 0 1rem;
  }

  .hero-content .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

/* Homepage Course Cards Mobile Optimization */
@media (max-width: 768px) {
  /* Force single column layout for course cards on mobile */
  section .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 0 1rem;
  }

  /* Optimize course card content for mobile */
  .card {
    min-height: 240px !important;
    padding: 1.5rem !important;
  }

  .card h3 {
    font-size: 1.35rem !important;
    margin-bottom: 0.5rem !important;
  }

  .card p {
    font-size: 0.9rem !important;
  }

  .card span[style*="display: inline-block"] {
    font-size: 0.8rem !important;
    padding: 0.2rem 0.6rem !important;
  }
}

/* Homepage Features Section Mobile Optimization */
@media (max-width: 768px) {
  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    padding: 0 1rem;
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
  }

  /* Force single column for features grid */
  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding: 0 1rem;
  }

  .feature-item {
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto 1rem;
  }

  .feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .feature-item p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* Homepage Testimonials Mobile Optimization */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 0 1rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .testimonial-author h4 {
    font-size: 1rem;
  }

  .testimonial-author p {
    font-size: 0.85rem;
  }
}

/* Homepage Newsletter Section Mobile Optimization */
@media (max-width: 768px) {
  .newsletter-section {
    padding: 3rem 1rem;
  }

  .newsletter-section h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .newsletter-section p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .newsletter-form {
    padding: 0;
  }

  /* Ensure newsletter form is mobile-friendly */
  .newsletter-form .wpcf7-form {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .newsletter-form input[type="email"] {
    width: 100% !important;
    font-size: 1rem;
    padding: 1rem;
    min-height: 48px;
  }

  .newsletter-form button[type="submit"],
  .newsletter-form input[type="submit"] {
    width: 100% !important;
    font-size: 1rem;
    padding: 1rem;
    min-height: 48px;
  }
}

/* Extra small mobile devices (< 480px) */
@media (max-width: 480px) {
  .hero-section {
    padding: 2rem 0;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content .tagline {
    font-size: 1rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .card {
    min-height: 220px !important;
    padding: 1.25rem !important;
  }

  .card h3 {
    font-size: 1.25rem !important;
  }

  .feature-item h3 {
    font-size: 1.15rem;
  }

  .feature-item p {
    font-size: 0.9rem;
  }

  .newsletter-section {
    padding: 2.5rem 1rem;
  }

  .newsletter-section h2 {
    font-size: 1.5rem;
  }
}

/* Ensure proper spacing for all sections on mobile */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Better touch targets for all links and buttons */
  a.btn {
    min-height: 48px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  /* Optimize inline styles for mobile */
  p[style*="font-size: 0.9rem"] {
    font-size: 0.85rem !important;
  }

  /* Ensure proper text wrapping */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Adding comprehensive mobile optimization for despre page */
/* Despre Page Mobile Optimization */
@media (max-width: 768px) {
  /* Hero section mobile */
  .hero-section .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-section .tagline {
    font-size: 1.1rem;
  }

  /* Vision section mobile */
  .section .container > div[style*="max-width: 800px"] {
    padding: 0 1rem;
  }

  .section .container > div[style*="max-width: 800px"] p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  /* Values grid - stack to single column */
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Methodology grid - stack to single column */
  .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Card icons mobile */
  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .card-description {
    font-size: 0.95rem;
  }

  /* Methodology section mobile */
  .section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem !important;
  }

  .section ul {
    padding-left: 1rem;
    font-size: 0.95rem;
  }

  .section ul li {
    margin-bottom: 0.5rem;
  }

  /* Logo concept card mobile */
  .card[style*="linear-gradient"] {
    padding: 1.5rem;
  }

  .card[style*="linear-gradient"] h3 {
    font-size: 1.25rem;
  }

  .card[style*="linear-gradient"] p {
    font-size: 0.95rem;
  }

  /* CTA section mobile */
  .section[style*="background-color: var(--color-mint)"] h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem !important;
  }

  .section[style*="background-color: var(--color-mint)"] p {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* Section spacing mobile */
  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  /* Container padding mobile */
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Text center alignment mobile */
  .text-center {
    text-align: center;
  }

  /* Button mobile optimization */
  .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    width: auto;
    min-width: 200px;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .hero-section .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-section .tagline {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .card {
    padding: 1.5rem;
  }

  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .btn {
    min-width: 100%;
    padding: 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
