/* ===================================
   ABOUT PAGE MODERN STYLES - ORIGINAL VERSION RESTORED
   Back to the original styling before font consistency changes
   =================================== */

/* About Page Modern Styles */
.main-content {
    background: #fff;
}

.our-expertise {
    padding: 5em 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 3em;
}

.section-header h2 {
    font-size: 1.8em;
    color: #000;
    font-family: 'PT Sans', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5em;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: #30343c;
    margin: 0 auto 1em;
}

.section-intro {
    font-size: 1.2em;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.container {
    width: 70%;
    margin: 0 auto;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.expertise-item {
    text-align: center;
    padding: 2em;
    background: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.expertise-icon {
    margin-bottom: 1.5em;
}

.service-icon {
    width: 60px;
    height: 60px;
    filter: brightness(0) saturate(100%) invert(21%) sepia(8%) saturate(1077%) hue-rotate(183deg) brightness(95%) contrast(91%);
}

.expertise-item h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 1em;
    font-family: 'PT Sans', sans-serif;
    font-weight: 600;
}

.expertise-item p {
    color: #666;
    line-height: 1.6;
}

.company-evolution {
    padding: 5em 0;
    background: linear-gradient(135deg, #30343c 0%, #2e5c96 100%);
    color: #fff;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2em 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: #30343c;
}

.timeline-item {
    position: relative;
    margin: 2em 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: #2e5c96;
    color: #fff;
    padding: 0.8em 1.2em;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1em;
    margin: 0 2em;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: #fff;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 0.8em;
    font-family: 'PT Sans', sans-serif;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

.our-approach {
    padding: 5em 0;
    background: #f8f9fa;
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
    align-items: center;
    margin-top: 2em;
}

.approach-text h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 1em;
    font-family: 'PT Sans', sans-serif;
    font-weight: 600;
}

.approach-text h4 {
    font-size: 1.3em;
    color: #30343c;
    margin: 2em 0 1em 0;
    font-weight: 600;
}

.approach-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5em;
}

.process-list {
    padding-left: 1.5em;
    color: #555;
}

.process-list li {
    margin-bottom: 1em;
    line-height: 1.6;
}

.process-list strong {
    color: #30343c;
    font-weight: 600;
}

.feature-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.image-caption {
    text-align: center;
    font-size: 0.9em;
    color: #888;
    margin-top: 1em;
    font-style: italic;
}

.why-choose-ukcoa {
    padding: 5em 0;
    background: linear-gradient(180deg, #30343c 0%, #2e5c96 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.benefit-item {
    background: #fff;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #2e5c96;
}

.benefit-item h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 1em;
    font-family: 'PT Sans', sans-serif;
    font-weight: 600;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

.call-to-action {
    padding: 4em 0;
    background: #2e5c96;
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2em;
    margin-bottom: 1em;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2em;
    margin-bottom: 2em;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1em;
    justify-content: center;
    flex-wrap: wrap;
}

.primary-button, .secondary-button {
    padding: 1em 2em;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-button {
    background: #fff;
    color: #30343c;
}

.primary-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.secondary-button {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.secondary-button:hover {
    background: #fff;
    color: #30343c;
}

.additional-info {
    padding: 2em 0;
    background: #f8f9fa;
    text-align: center;
}

.info-text {
    color: #666;
    font-family: 'PT Sans', sans-serif;
}

.inline-link {
    color: #30343c;
    text-decoration: none;
    font-weight: 600;
}

.inline-link:hover {
    text-decoration: underline;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .container {
        width: 85%;
    }
    
    .expertise-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-content {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 4em;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row !important;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        margin: 0;
    }
    
    .timeline-content {
        margin-left: 2em;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-button, .secondary-button {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.5em;
    }
    
    .expertise-item,
    .benefit-item,
    .timeline-content {
        padding: 1.5em;
    }
}

/* About page specific grid fix - more specific selector */
.why-choose-ukcoa .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* About page contrast styling additions */
.company-evolution .section-header h2,
.company-evolution .section-intro {
    color: #fff;
}

.company-evolution .section-divider {
    background: #fff;
}

.why-choose-ukcoa .section-header h2 {
    color: #fff;
}

.why-choose-ukcoa .section-divider {
    background: #2e5c96;
}

/* About page benefit items icon styling */
.benefit-item i {
    font-size: 2.5rem;
    color: #2e5c96;
    margin-bottom: 1rem;
    display: block;
}

/* ==========================================
   ABOUT PAGE - COMPANY INFO SECTION GRID
   ========================================== */
.about-company-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: start;
  width: 70%;
  padding-bottom: 5em;
}
#coinfohd {
  grid-column: 1 / -1;
  margin-bottom: 1.2em;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.about-company-grid.cpwid {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: unset !important;
  width: 100%;
  margin-bottom: 2em;
  box-sizing: border-box;
  font-family: 'Quicksand', Tahoma, Sans-Serif;
  color: #fff;
}

/* ==========================================
   CONTACT PAGE - INFO GRID & FORM STYLES
   ========================================== */

/* Contact Info Grid */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}
.contact-method {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007acc, #005999);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}
.contact-method h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}
.contact-method p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}
.contact-link {
    color: #007acc;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.contact-link:hover {
    color: #005999;
}

/* Opening hours & service links in cards */
.opening-hours {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #4f8fd1;
}
.hours-day {
    display: flex;
	flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.hours-day:last-child {
    border-bottom: none;
}
.services-quick-links {
    background: #4f8fd1;
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
}
.services-quick-links h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.services-quick-links a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: opacity 0.3s ease;
}
.services-quick-links a:hover {
    opacity: 0.8;
}

/* Contact Hero Section */
.contact-hero {
    background: #2e5c96;
    color: white;
    padding: 2rem 0;
    text-align: center;
}
.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Form Section */
.contact-form-section {
    background: #2e5c96;
    padding: 4rem 0;
    margin-top: 3rem;
}
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
}
.form-header {
    text-align: center;
    margin-bottom: 2rem;
}
.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-family: 'Quicksand', Tahoma, Sans-Serif;
    font-weight: 500;
}
.form-header p {
    font-size: 1.1rem;
    color: #666;
    font-family: 'Quicksand', Tahoma, Sans-Serif;
}

/* Modern Responsive Form Layout */
.modern-form {
    display: grid;
    gap: 1.5rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group {
    position: relative;
}
.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}
.form-control:focus {
    outline: none;
    border-color: #007acc;
    box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.1);
}
.form-control::placeholder {
    color: #444;
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
select.form-control {
    height: 55px;
    min-height: 48px;
    line-height: 1.2;
    padding-top: 0.85em;
    padding-bottom: 0.85em;
    font-family: 'Quicksand', Tahoma, Sans-Serif;
    font-size: 1rem;
    color: #333;
    background: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="16" viewBox="0 0 20 20" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7.293 7.293a1 1 0 011.414 0L10 8.586l1.293-1.293a1 1 0 111.414 1.414l-2 2a1 1 0 01-1.414 0l-2-2a1 1 0 010-1.414z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1em center;
    background-size: 1.5em 1.5em;
}
.submit-btn {
    background: linear-gradient(135deg, #007acc, #005999);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 122, 204, 0.3);
}

/* Contact form AJAX response styles: keep these! */
.contact__msg {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-control, textarea.form-control, select.form-control {
    font-family: 'Quicksand', Tahoma, Sans-Serif;
}

select.form-control:invalid {
    color: #444;
}
select.form-control {
    color: #333; /* fallback for valid options */
}

/* ==== BLANK PAGE UTILITY STYLES ==== */

/* Section backgrounds */
.blank-section           { background: #fff; padding: 3em 0; }
.blank-section-alt       { background: #f8f9fa; padding: 3em 0; }
.blank-section-solid     { background: #2e5c96; color: #fff; padding: 5em 0; }
.blank-section-gradient  { background: linear-gradient(180deg,#30343c 0%,#2e5c96 100%); color: #fff; padding: 5em 0; }

/* Section headings */
.blank-section h1, .blank-section h2,
.blank-section-alt h2, .blank-section-solid h2, .blank-section-gradient h2 {
    font-size: 2.2em;
    font-weight: 500;
    color: #2e5c96;
    margin-bottom: 1.2em;
    font-family: 'Quicksand', Tahoma, Sans-Serif;
}
.blank-section-solid h2, .blank-section-gradient h2 { color: #fff; }
.blank-section h1 { font-size: 2.2em; margin-bottom: 0.7em; }

/* --- FIX: DISTINCT HERO H1/P SIZING IN BLANK-SECTION-GRADIENT --- */
.blank-section-gradient h1 {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 0.6em;
}
.blank-section-gradient .section-subtitle {
  font-size: 1.3em;
  font-weight: 400;
  margin-bottom: 2.2em;
  color: #f8f9fa;
}

/* Section subtitles */
.blank-section .section-subtitle, .blank-section-alt .section-subtitle {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 2em;
    font-family: 'Quicksand', Tahoma, Sans-Serif;
}
.blank-section-solid .section-subtitle, .blank-section-gradient .section-subtitle {
    color: #fff;
    opacity: 0.84;
}

/* Content box */
.blank-content-box {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(46,92,150,0.11);
    padding: 2.5em 2em;
    margin-bottom: 2em;
    transition: box-shadow 0.2s;
}
.blank-content-box.gradient { background: linear-gradient(180deg, #fff 65%, #e8f0fa 100%); }
.blank-content-box.alt      { background: #f8f9fa; }
.blank-content-box.dark     { background: #222e43; color: #fff; margin-top: 2.5em; }
.blank-content-box h3 {
    font-size: 1.2em;
    font-weight: 500;
    color: #2e5c96;
    margin-bottom: 0.8em;
    font-family: 'Quicksand', Tahoma, Sans-Serif;
}

/* Section image */
.blank-img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(46,92,150,0.09);
    margin-bottom: 1.5em;
}

/* --- 2-COLUMN/3-COLUMN LAYOUTS (utility) --- */
.blank-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
    align-items: center;
}

.blank-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5em;
    align-items: stretch;
}

@media (max-width: 900px) {
    .blank-grid-2col,
    .blank-grid-3col {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }
}

/* --- CARD HEADING/SECTION UTILITIES --- */
.blank-card-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(46,92,150,0.09);
    padding: 2.5em 2em;
    margin-bottom: 2em;
}
.blank-card-heading {
    margin-bottom: 1.7em;
}
.blank-card-heading h2 {
    font-size: 2em;
    color: #2e5c96;
    font-family: 'Quicksand', Tahoma, Sans-Serif;
    font-weight: 500;
    margin-bottom: 0.2em;
}
.blank-card-heading .section-subtitle {
    font-size: 1.1em;
    color: #666;
    opacity: 0.93;
}

.top-grids {
	padding: 5em 0 0 0!important;
}

.top-grids .top-grid {
    min-height: 100px;
}

.top-grids .top-grid h3 {
    color: #2e5c96;
}

/* --- SECTION SPACING FOR DEMO PAGES --- */
.service-demo-section { padding: 2em 0; }
.service-demo-section-alt { background: #f8f9fa; padding: 4em 0; }
.service-demo-section-gradient { background: linear-gradient(180deg,#30343c 0%,#2e5c96 100%); color: #fff; padding: 4em 0; }
.service-demo-section h2, .service-demo-section-alt h2, .service-demo-section-gradient h2 {
    font-size: 2em;
    font-weight: 500;
    color: #2e5c96;
    margin-bottom: 1.1em;
    font-family: 'Quicksand', Tahoma, Sans-Serif;
}
.service-demo-section-gradient h2 { color: #fff; }
.service-demo-section h3 { font-size: 1.2em; font-weight: 500; margin: 1em 0 0.5em; color: #2e5c96; }
.service-demo-section p, .service-demo-section li, .service-demo-section-alt p, .service-demo-section-alt li {
    font-size: 1.07em;
    color: #444;
    font-family: 'Quicksand', Tahoma, Sans-Serif;
    line-height: 1.6;
}
.service-demo-section ul, .service-demo-section-alt ul {
    margin: 1.5em 0 1.5em 2em;
    list-style: disc;
    color: #2e5c96;
}
.service-demo-section ol, .service-demo-section-alt ol {
    margin: 1.5em 0 1.5em 2em;
    list-style: decimal;
    color: #2e5c96;
}
.service-demo-section blockquote, .service-demo-section-alt blockquote {
    margin: 1.8em 0;
    padding: 1em 1.5em;
    background: #f3f7ff;
    border-left: 4px solid #2e5c96;
    font-style: italic;
    color: #222;
    border-radius: 8px;
}

/* --- 2-column demo grid for image/text alternates --- */
.service-demo-cols {
    display: grid;
    grid-template-columns: 1.18fr 1fr;
    gap: 2.5em;
    align-items: center;
}
.service-demo-cols.imgleft { grid-template-columns: 1fr 1.18fr; }
@media (max-width: 900px) {
    .service-demo-cols, .service-demo-cols.imgleft {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }
}

/* CTA box */
.blank-cta {
    background: linear-gradient(90deg, #2e5c96 60%, #30343c 100%);
    color: #fff;
    border-radius: 18px;
    padding: 2.2em 2em;
    margin: 2.5em 0 2em 0;
    text-align: center;
}
.blank-cta h2 {
    color: #fff;
    font-size: 2em;
    margin-bottom: 0.5em;
    font-family: 'Quicksand', Tahoma, Sans-Serif;
}

/* CTA button */
.blank-btn {
    background: #2e5c96;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.85em 2.2em;
    font-size: 1.13em;
    margin-top: 1em;
    transition: background 0.2s;
    display: inline-block;
    text-decoration: none;
}
.blank-btn:hover, .blank-btn:focus {
    background: #30343c;
    color: #fff;
}

/* === GLOBAL FULL-WIDTH CTA SECTION === */
.ukcoa-cta-section {
    background: #2e5c96;
    padding: 4em 0 3.5em 0;
    text-align: center;
}
.ukcoa-cta-section h2 {
    color: #fff;
    font-size: 2.2em;
    font-family: 'Quicksand', Tahoma, Sans-Serif;
    font-weight: 500;
    margin-bottom: 0.7em;
}
.ukcoa-cta-section p {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 2em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.92;
}
.ukcoa-cta-section .blank-btn,
.ukcoa-cta-section .primary-button {
    margin-top: 0;
    background: #fff;
    color: #2e5c96;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.9em 2.4em;
    font-size: 1.13em;
    transition: background 0.22s, color 0.22s;
    box-shadow: 0 4px 16px rgba(46,92,150,0.08);
}
.ukcoa-cta-section .blank-btn:hover,
.ukcoa-cta-section .primary-button:hover {
    background: #30343c;
    color: #fff;
}

/* === FAQ GRADIENT SECTION === */
.ukcoa-faq-gradient {
    background: linear-gradient(180deg, #30343c 0%, #2e5c96 100%);
    color: #fff;
    padding: 5em 0;
}
.ukcoa-faq-gradient h2 {
    color: #fff;
}
.ukcoa-faq-gradient .blank-faq-accordion {
    /* Keep FAQ cards readable */
    background: none;
}
.ukcoa-faq-gradient .blank-faq-item {
    background: rgba(255,255,255,0.10);
    border: 1px solid #2e5c96;
}
.ukcoa-faq-gradient .blank-faq-question {
    color: #fff;
}
.ukcoa-faq-gradient .blank-faq-answer {
    background: rgba(255,255,255,0.13);
    color: #fff;
    border-top: 1px solid #4060a5;
}
.ukcoa-faq-gradient .blank-faq-item.active .blank-faq-question .faq-arrow {
    color: #fff;
}

/* ==== GLOBAL FAQ ACCORDION STYLES ==== */
.blank-faq-accordion {
    max-width: 800px;
    margin: 3em auto 3em auto;
}
.blank-faq-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(30,40,90,0.08);
    margin-bottom: 1.2em;
    border-left: 4px solid #2e5c96;
    transition: box-shadow 0.2s;
    overflow: hidden;
}
.blank-faq-question {
    cursor: pointer;
    padding: 1.2em 1.5em;
    font-size: 1.15em;
    color: #2e5c96;
    font-weight: 500;
    font-family: 'Quicksand', Tahoma, Sans-Serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    background: #f8f9fa;
    border: none;
    outline: none;
    transition: background 0.2s;
}
.blank-faq-item.active .blank-faq-question {
    background: #e8f0fa;
}
.faq-arrow {
    font-size: 1.5em;
    color: #2e5c96;
    margin-left: 1em;
    transition: transform 0.2s;
}
.blank-faq-item.active .faq-arrow {
    transform: rotate(90deg);
}
.blank-faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #f8f9fa;
    color: #333;
    padding: 0 1.5em;
    transition: max-height 0.28s cubic-bezier(0.4, 0, 0.2, 1), padding 0.2s;
    font-size: 1.04em;
    font-family: 'Quicksand', Tahoma, Sans-Serif;
    border-top: 1px solid #e8f0fa;
}
.blank-faq-item.active .blank-faq-answer {
    max-height: 500px;
    padding: 1.2em 1.5em;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), padding 0.2s;
}

/* --- 2025-09-07: Service Demo Section Polish --- */

/* 1. Make .service-demo-section-gradient h3 visually larger/distinct */
.service-demo-section-gradient h3 {
  font-size: 1.6em;
  font-weight: 600;
  color: #fff;
  margin-top: 1.8em;
  margin-bottom: 0.7em;
  font-family: 'Quicksand', Tahoma, Sans-Serif;
}

/* 2. (Optional) If you want to tweak .blank-section-gradient h1 further, user already set to 1.8em, but ensure consistent: */
.blank-section-gradient h1 {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 0.6em;
}

/* --- CONTACT FORM VALIDATION: Branded, Modern, Smooth --- */
.contact-form label.error {
    color: #d93025;
    background: none;
    font-size: 1.08em;
    margin-top: 0.15em;
    margin-bottom: 0.3em;
    display: block;
    text-align: left;
    font-weight: 500;
    font-family: 'Quicksand', Tahoma, Sans-Serif;
    padding-left: 0.2em;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(-4px);
    animation: ukcoa-fadein-label 0.45s cubic-bezier(.47,1.64,.41,.8) forwards;
    transition: opacity 0.4s, transform 0.4s;
}

@keyframes ukcoa-fadein-label {
    from { opacity: 0; transform: translateY(-8px);}
    to   { opacity: 1; transform: translateY(0);}
}

.contact-form .form-control.error,
.contact-form select.error,
.contact-form textarea.error {
    border-color: #d93025;
    background: #fff0f0;
    box-shadow: 0 0 0 2px rgba(217,48,37,0.09);
    transition: border-color 0.25s, background 0.3s;
}

.contact-form .form-control.valid {
    border-color: #4BB543;
    background: #f0fff5;
    box-shadow: 0 0 0 2px rgba(75,181,67,0.09);
    transition: border-color 0.25s, background 0.3s;
}

/* Ensure error label does not jump layout */
.contact-form .form-group {
    min-height: 2.2em;
    position: relative;
}