/*
Theme Name: Capstone Project Help UK
Theme URI: https://www.capstoneprojecthelper.co.uk
Author: Capstone Project Help UK Team
Author URI: https://www.capstoneprojecthelper.co.uk
Description: A custom WordPress theme for Capstone Project Help UK services. Built with Tailwind CSS and optimized for performance, CLS, and Core Web Vitals.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: capstone-prouk
*/

/* =====================================================
           GLOBAL ROOT STYLE – TRANSLATION WEBSITE
           ===================================================== */

/* ---------- GOOGLE FONT ---------- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary-color: #1e3a8a;
  --secondary-color: #f59e0b;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif !important;
}

.bg-primary {
  background-color: var(--primary-color);
}

.text-primary {
  color: var(--primary-color) !important;
}
.border-primary {
  border: 2px solid var(--primary-color);
}
.border-secondary {
  border: 2px solid var(--secondary-color);
}
.bg-secondary {
  background-color: var(--secondary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.bg-accent {
  background: linear-gradient(120deg, #eefaf7, #e1f3ef, #edf2f8);
}
.bg-gradient-color {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
}

.bg-circular-connections {
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='60' cy='60' r='40' fill='none' stroke='%2343a9b4' stroke-width='2' opacity='0.7'/%3E%3Ccircle cx='60' cy='60' r='25' fill='none' stroke='%2343a9b4' stroke-width='2' opacity='0.7'/%3E%3Ccircle cx='60' cy='60' r='10' fill='none' stroke='%2343a9b4' stroke-width='2' opacity='0.7'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}

.reviews-slider p,
.writers-slider p,
.content-align p {
  text-align: justify;
}

/* WordPress Core Classes */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption-text {
  font-size: 0.875rem;
  color: #666;
}
.gallery-caption {
  font-size: 0.875rem;
  color: #666;
}
.bypostauthor {
  font-weight: bold;
}
.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* Responsive Typography */
@media (max-width: 767px) {
  h1 {
    font-size: 1.875rem !important;
    line-height: 2.34rem;
  }
  h2 {
    font-size: 1.5rem !important;
    line-height: 1.95rem;
    font-weight: bold;
  }
  h3 {
    font-size: 1.25rem !important;
    line-height: 1.69rem;
    font-weight: bold;
  }
  h4 {
    font-size: 1.125rem !important;
    line-height: 1.56rem;
    font-weight: bold;
  }
  p {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 768px) {
   
   .faq-heading h3 {
    font-size: 1.25rem !important;
  }    
    
    
  h1 {
    font-size: 2.625rem !important;
    line-height: 3.15rem;
  }
  h2 {
    font-size: 2rem !important;
    line-height: 2.5rem;
    font-weight: bold !important;
  }
  h3 {
    font-size: 1.625rem !important;
    line-height: 2.11rem;
    font-weight: bold !important;
  }
  h4 {
    font-size: 1.375rem !important;
    line-height: 1.88rem;
    font-weight: bold !important;
  }
  p {
    font-size: 1.125rem;
    line-height: 1.6rem;
  }
}
#special-page-content h2,
#single-post-content h2 {
  color: var(--primary-color) !important;
  margin-bottom: 0.5rem;
}

#special-page-content h3,
#single-post-content h3 {
  color: var(--secondary-color) !important;
  margin-bottom: 0.5rem;
}

#special-page-content p,
#single-post-content p {
  margin-bottom: 0.75rem;
}

#special-page-content li,
#single-post-content li {
  font-size: 1.125rem;
  line-height: 1.6rem;
  margin-bottom: 0.75rem;
}
#special-page-content li,
#single-post-content li {
  position: relative;
  padding-left: 30px;
  list-style: none;
}

#special-page-content li::before,
#single-post-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background-color: #f59e0b;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'%3E%3C/path%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}
