/* ==========================================================================
   EVOLVE AND INSPIRE SOLUTIONS - NLP & Hypnotherapy Training
   Barbara HM Bochenek - ABNLP, ABH, IRNCH Certified Trainer

   Modern 2026 Design with Glassmorphism & Animations

   Color Scheme (WCAG 2.2 Compliant):
   - Primary Blue: #2EA3F2 (large text only) / #0077B5 (body text - 4.61:1)
   - Text Dark: #333333 (12.63:1 contrast)
   - Text Body: #666666 (5.74:1 contrast)
   - Background: #ffffff
   - Borders: #e2e2e2, #ddd, #bbb
   ========================================================================== */

/* Relaxing Font Combination: Lora (headings) + Nunito (body) */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Nunito:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties - Matching Original Website Colors */
:root {
    --color-primary: #2EA3F2;
    --color-primary-dark: #2991d6;
    --color-primary-hover: #1a8cd8;
    --color-primary-glow: rgba(46, 163, 242, 0.4);
    --color-secondary: #ff6b9d;
    --color-accent-orange: #f5a623;
    --color-accent-teal: #4ecdc4;
    --color-text-dark: #333333;
    --color-text-body: #555555;
    --color-text-light: #888888;
    --color-white: #ffffff;
    --color-bg-light: #f5f7fa;
    --color-bg-section: #f8f9fa;
    --color-border: #e2e2e2;
    --color-border-light: #dddddd;
    --color-footer-bg: #1a1a2e;
    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-primary: var(--font-body);
    --line-height-body: 1.8em;
    --max-width: 1080px;
    --header-height: 80px;
    --transition-speed: 0.3s;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(46, 163, 242, 0.15);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    line-height: var(--line-height-body);
    color: var(--color-text-body);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ==========================================================================
   ANIMATED BACKGROUND
   ========================================================================== */

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent-teal));
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent-orange));
    bottom: 20%;
    left: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--color-accent-teal), var(--color-primary));
    top: 50%;
    right: 10%;
    animation-delay: -10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--color-accent-orange), var(--color-secondary));
    bottom: -50px;
    right: 30%;
    animation-delay: -15s;
}

.shape-5 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    top: 30%;
    left: 20%;
    animation-delay: -8s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -30px) rotate(5deg) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg) scale(0.95);
    }
    75% {
        transform: translate(20px, 30px) rotate(3deg) scale(1.02);
    }
}

/* ==========================================================================
   GLASSMORPHISM CARDS
   ========================================================================== */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-glow), var(--shadow-soft);
    transform: translateY(-8px);
}

/* Typography - Relaxing Font Combination */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-dark);
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.143rem; /* 30px */
}

h2 {
    font-size: 1.857rem; /* 26px */
}

h3 {
    font-size: 1.571rem; /* 22px */
}

h4 {
    font-size: 1.286rem; /* 18px */
}

h5 {
    font-size: 1.143rem; /* 16px */
}

h6 {
    font-size: 1rem; /* 14px */
}

p {
    margin-top: 0;
    margin-bottom: 1.5em;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

a:hover,
a:focus {
    color: var(--color-primary-dark);
    opacity: 0.7;
}

a:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    margin: 0 0 1.5em;
    padding-left: 1.5em;
}

/* Container */
.container {
    width: 80%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Content Offset for Fixed Header */
main,
.main-content {
    padding-top: var(--header-height);
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   LOGO SHOWCASE SECTION
   ========================================================================== */

.logo-showcase {
    padding: 4rem 0 2rem;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.logo-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
    opacity: 0.3;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateX(-50%) scale(1.1);
        opacity: 0.5;
    }
}

.logo-showcase-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.logo-large {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin: 0 auto 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 80px var(--color-primary-glow);
    animation: logo-float 6s ease-in-out infinite;
}

@keyframes logo-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.logo-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-speed) ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-primary);
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent-teal));
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

/* Primary Button */
.btn,
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(46, 163, 242, 0.3);
}

.btn:hover,
.btn:focus,
.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 163, 242, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: none;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(46, 163, 242, 0.3);
}

.btn-header {
    padding: 0.5rem 1rem;
    font-size: 0.857rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-text-dark);
    margin: 5px 0;
    transition: var(--transition-speed);
    border-radius: 2px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-white) 100%);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.857rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(46, 163, 242, 0.1);
    border-radius: 20px;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
    background: linear-gradient(135deg, var(--color-text-dark) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.143rem;
    color: var(--color-text-body);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent-teal));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.143rem;
    color: var(--color-text-body);
}

/* Services/Expertise Grid */
.services-grid,
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.services-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.service-card,
.expertise-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.service-card:hover,
.expertise-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-glow), var(--shadow-soft);
    transform: translateY(-8px);
}

.service-icon,
.expertise-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(46, 163, 242, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
}

.service-card h3,
.expertise-card h3 {
    font-size: 1.286rem;
    margin-bottom: 1rem;
}

.service-card p,
.expertise-card p {
    font-size: 0.929rem;
    color: var(--color-text-body);
    margin-bottom: 1.5rem;
}

/* About Section */
.about-section {
    background: var(--color-bg-section);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   TESTIMONIALS CAROUSEL
   ========================================================================== */

.testimonials-section {
    background: linear-gradient(135deg, var(--color-text-dark) 0%, #1a1a1a 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(46, 163, 242, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
    animation: rotate-bg 30s linear infinite;
}

@keyframes rotate-bg {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.testimonials-section h2 {
    color: var(--color-white);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.testimonials-section h2::after {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent-teal));
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonial-track {
    position: relative;
    min-height: 200px;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    text-align: center;
    padding: 2rem;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-text {
    font-size: 1.286rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 0;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--color-primary);
    opacity: 0.5;
    line-height: 0;
    vertical-align: middle;
}

.testimonial-text::before {
    margin-right: 0.5rem;
}

.testimonial-text::after {
    margin-left: 0.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.1rem;
    font-style: normal;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    color: var(--color-white);
}

.carousel-btn:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    padding: 0;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-section h2,
.cta-title {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-section p,
.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.143rem;
    margin-bottom: 2rem;
}

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

.cta-section .btn {
    background: var(--color-white);
    color: var(--color-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-section .btn:hover {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.cta-section .btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 2rem;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contact-details a {
    color: var(--color-text-dark);
}

.contact-details a:hover {
    color: var(--color-primary);
}

.contact-form-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--color-text-dark);
    font-size: 0.929rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   PAGE CONTENT
   ========================================================================== */

.page-content {
    padding: 4rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.page-title {
    margin-bottom: 0;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent-teal));
    border-radius: 2px;
}

.page-body {
    max-width: 800px;
    margin: 0 auto;
}

.page-body h2 {
    margin-top: 2.5rem;
}

.page-body ul,
.page-body ol {
    margin-bottom: 1.5em;
}

.page-body li {
    margin-bottom: 0.5em;
}

/* Contact Page Specific Styles */
.page-body .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
    max-width: 100%;
}

.page-body .contact-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.5s ease;
}

.page-body .contact-image:hover img {
    transform: scale(1.02);
}

.page-body .contact-info {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.page-body .contact-info h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.286rem;
}

.page-body .contact-info a {
    color: var(--color-primary);
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.page-body .contact-info a:hover {
    color: var(--color-primary-dark);
}

/* WordPress/Divi Content Styles */
.et_pb_section {
    padding: 4rem 0;
}

.et_pb_row {
    max-width: var(--max-width);
    margin: 0 auto 2rem;
    padding: 0 20px;
}

.et_pb_column {
    padding: 0 15px;
}

.et_pb_text_inner {
    margin-bottom: 1.5rem;
}

.et_pb_image_wrap img {
    width: 100%;
    border-radius: 16px;
}

.et_pb_button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    font-weight: 600;
    border: none;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(46, 163, 242, 0.3);
}

.et_pb_button:hover {
    background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    opacity: 1;
    transform: translateY(-2px);
}

/* Slider/Testimonials Divi */
.et_pb_slider {
    background: var(--color-text-dark);
    border-radius: 16px;
    padding: 3rem 2rem;
}

.et_pb_slide_description {
    text-align: center;
    color: var(--color-white);
}

.et_pb_slide_title {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.et_pb_slide_content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* FAQ Accordion Styles */
details {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

details:hover {
    box-shadow: var(--shadow-soft);
}

details[open] {
    box-shadow: var(--shadow-glow);
}

summary {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    transition: background var(--transition-speed) ease;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform var(--transition-speed) ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

summary:hover {
    background: rgba(46, 163, 242, 0.05);
}

details > p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

/* Feature Cards Grid */
.features-grid,
.training-areas,
.differentiators,
.outcomes-grid {
    display: grid;
    gap: 1.5rem;
}

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

.training-areas {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card,
.training-area,
.differentiators > div,
.outcomes-grid > div {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: all var(--transition-speed) ease;
}

.feature-card:hover,
.training-area:hover,
.differentiators > div:hover,
.outcomes-grid > div:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--color-primary);
}

/* Testimonials in page content */
.page-body .testimonials blockquote {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    padding: 1.5rem 2rem;
    margin: 0 0 1.5rem 0;
    border-radius: 0 12px 12px 0;
    transition: all var(--transition-speed) ease;
}

.page-body .testimonials blockquote:hover {
    box-shadow: var(--shadow-soft);
    transform: translateX(5px);
}

.page-body .testimonials cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    font-style: normal;
}

/* ==========================================================================
   LEGAL PAGES (Privacy Policy, Terms & Conditions)
   ========================================================================== */

/* Legal page compact styling - corporate/formal look */
.page-body .wp-block-heading,
.page-body h2.wp-block-heading,
.page-body h3.wp-block-heading,
.page-body h4.wp-block-heading {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.page-body h2.wp-block-heading {
    font-size: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.page-body .wp-block-list {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.page-body .wp-block-list li {
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.page-body .wp-block-separator {
    margin: 1.5rem 0;
    border: none;
    border-top: 1px solid var(--color-border);
}

/* Compact paragraph spacing for legal content */
.page-body p:has(+ .wp-block-heading),
.page-body p:has(+ h2),
.page-body p:has(+ h3) {
    margin-bottom: 1rem;
}

/* Legal pages - detect by WordPress classes present */
.page-body:has(.wp-block-list) p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.page-body:has(.wp-block-list) ul,
.page-body:has(.wp-block-list) ol {
    margin-bottom: 0.75rem;
}

.page-body:has(.wp-block-list) li {
    margin-bottom: 0.2rem;
}

/* Training page grid - responsive image sizing */
.training-section img,
.page-body .training-section img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    object-position: center top;
}

/* Accreditation grid - uniform squares */
.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.accreditation-grid > div {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 12px;
}

.accreditation-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: linear-gradient(180deg, var(--color-footer-bg) 0%, #1a1a1a 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.929rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer h4 {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.929rem;
    transition: color var(--transition-speed) ease;
}

.footer-nav a:hover {
    color: var(--color-primary);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-speed) ease;
}

.social-icon:hover {
    background: var(--color-primary);
    color: var(--color-white);
    opacity: 1;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.857rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer col */
.footer-col {
    padding: 0;
}

/* ==========================================================================
   ACCREDITATION BADGES
   ========================================================================== */

.accreditation-badges {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem 0;
}

.accreditation-badge {
    width: 100px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-speed) ease;
}

.accreditation-badge:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 980px) {
    .container {
        width: 90%;
    }

    .nav-links {
        display: none;
    }

    .btn-header {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-grid,
    .about-grid,
    .contact-grid,
    .page-body .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid,
    .services-grid-3,
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .logo-large {
        max-width: 250px;
    }

    .floating-shape {
        opacity: 0.2;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 13px;
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        padding: 3rem 0 4rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .logo-tagline {
        font-size: 1.2rem;
    }

    .services-grid,
    .services-grid-3,
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-desc {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }

    h1 {
        font-size: 1.714rem;
    }

    h2 {
        font-size: 1.429rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .logo-large {
        max-width: 200px;
    }

    .logo-showcase {
        padding: 3rem 0 1rem;
    }

    .floating-shape {
        display: none;
    }
}

/* ==========================================================================
   ACCESSIBILITY ENHANCEMENTS (WCAG 2.2)
   ========================================================================== */

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
}

/* Focus indicators for all interactive elements */
:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .floating-shape,
    .animated-bg {
        display: none;
    }

    .logo-large {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-text-body: #000000;
        --color-border: #000000;
    }

    .btn,
    .btn-primary {
        border: 3px solid currentColor;
    }

    .glass-card {
        background: var(--color-white);
        backdrop-filter: none;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .cta-section,
    .mobile-menu-toggle,
    .animated-bg,
    .logo-showcase {
        display: none;
    }

    main {
        padding-top: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}
