/*
Theme Name: New Era 2025
Theme URI: https://neweradigitaltraining.com
Author: New Era Digital Training
Author URI: https://neweradigitaltraining.com
Description: A modern, professional theme for New Era Digital Training - featuring clean design with brand colors, course cards with filtering, and responsive layout.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newera-2025
Tags: education, training, e-learning, courses, custom-colors, custom-menu
*/

/*
===================
Table of Contents:
===================
1. CSS Variables & Reset
2. Typography
3. Layout & Grid
4. Header & Navigation
5. Hero Section
6. Course Cards
7. Course Filtering
8. Buttons
9. Footer
10. CTA Section
11. Forms
12. Utility Classes
13. Responsive Styles
*/

/* ==========================================================================
   1. CSS Variables & Reset
   ========================================================================== */

:root {
    /* Brand Colors */
    --brand-50: #e6f1f8;
    --brand-100: #cce3f1;
    --brand-200: #99c7e3;
    --brand-300: #66abd5;
    --brand-400: #338fc7;
    --brand-500: #1a6fa8;
    --brand-600: #155a8a;
    --brand-700: #10456b;
    --brand-800: #0a2f4d;
    --brand-900: #051a2e;

    /* Neutral Grays */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Semantic Colors */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;

    /* Course Accent Colors */
    --accent-blue: linear-gradient(to right, #3b82f6, #22d3ee);
    --accent-emerald: linear-gradient(to right, #10b981, #14b8a6);
    --accent-violet: linear-gradient(to right, #8b5cf6, #a855f7);
    --accent-red: linear-gradient(to right, #ef4444, #f97316);
    --accent-amber: linear-gradient(to right, #f59e0b, #facc15);
    --accent-pink: linear-gradient(to right, #ec4899, #fb7185);
    --accent-indigo: linear-gradient(to right, #6366f1, #3b82f6);
    --accent-cyan: linear-gradient(to right, #06b6d4, #0ea5e9);
    --accent-lime: linear-gradient(to right, #84cc16, #22c55e);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--brand-500);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--brand-600);
}

/* ==========================================================================
   2. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-lg);
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   3. Layout & Grid
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-3xl) 0;
}

.section-sm {
    padding: var(--spacing-2xl) 0;
}

.section-lg {
    padding: 5rem 0;
}

.grid {
    display: grid;
    gap: var(--spacing-lg);
}

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

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

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

/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */

.site-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

/* Logo with Circle Icon */
.site-branding {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.site-branding a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Logo Circle Icon */
.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: var(--brand-600);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.logo-icon::after {
    content: "";
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 5px solid white;
    box-sizing: border-box;
}

.site-branding .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-branding .logo-text .site-title,
.site-header .logo-text .site-title {
    display: block;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin: 0 !important;
    padding: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: none;
    border: none;
}

.site-branding .logo-text .site-tagline,
.site-header .logo-text .site-tagline {
    display: block;
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: var(--gray-500) !important;
    margin: 0 !important;
    padding: 0;
    line-height: 1.2;
}

/* Main Navigation */
.main-nav {
    display: none;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: var(--spacing-sm) 0;
    transition: color var(--transition-normal);
}

.main-nav a:hover {
    color: var(--brand-500);
}

.main-nav .current-menu-item a,
.main-nav .current_page_item a {
    color: var(--brand-500);
    font-weight: 600;
}

/* Header CTA Button */
.header-cta .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-nav-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-md);
}

.mobile-nav.is-active {
    display: block;
}

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

.mobile-nav li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    display: block;
    padding: var(--spacing-md);
    color: var(--text-secondary);
    font-weight: 500;
}

.mobile-nav a:hover {
    color: var(--brand-500);
    background-color: var(--gray-50);
}

/* Mobile Nav CTA Button */
.mobile-nav-cta {
    padding: var(--spacing-md);
}

.mobile-nav-cta .btn {
    display: block;
    text-align: center;
    color: white !important;
}

.mobile-nav-cta .btn:hover {
    color: white !important;
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-700) 50%, var(--brand-600) 100%);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    position: relative;
    min-height: 350px;
    max-height: 380px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(10, 47, 77, 0.95) 0%,
        rgba(10, 47, 77, 0.85) 35%,
        rgba(10, 47, 77, 0.5) 60%,
        rgba(10, 47, 77, 0.2) 100%
    );
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 48rem;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--brand-700);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--brand-100);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    font-size: 0.9375rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--brand-100);
}

.hero-feature svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--brand-200);
    flex-shrink: 0;
}

/* ==========================================================================
   6. Course Cards
   ========================================================================== */

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--spacing-lg);
}

.course-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Course Card Accent Bar */
.course-card-accent {
    height: 4px;
    background: var(--accent-blue);
}

.course-card-accent.emerald { background: var(--accent-emerald); }
.course-card-accent.violet { background: var(--accent-violet); }
.course-card-accent.red { background: var(--accent-red); }
.course-card-accent.amber { background: var(--accent-amber); }
.course-card-accent.pink { background: var(--accent-pink); }
.course-card-accent.indigo { background: var(--accent-indigo); }
.course-card-accent.cyan { background: var(--accent-cyan); }
.course-card-accent.lime { background: var(--accent-lime); }

.course-card-body {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Course Tags */
.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.course-tag {
    display: inline-block;
    background: var(--gray-100);
    color: var(--text-secondary);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Course Title */
.course-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.course-card-title a {
    color: inherit;
    text-decoration: none;
}

.course-card-title a:hover {
    color: var(--brand-500);
}

/* Stretched link - makes entire card clickable */
.course-card-title a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Keep other links clickable above the stretched link */
.course-card-link {
    position: relative;
    z-index: 2;
}

/* Course Description */
.course-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

/* Course Meta Footer */
.course-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-100);
}

.course-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--gray-500);
    font-size: 0.875rem;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.course-meta-item svg {
    width: 1rem;
    height: 1rem;
}

.course-card-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--brand-500);
    font-weight: 500;
    font-size: 0.875rem;
}

.course-card-link:hover {
    color: var(--brand-600);
}

.course-card-link svg {
    width: 1rem;
    height: 1rem;
}

/* ==========================================================================
   7. Course Filtering
   ========================================================================== */

.courses-filter-section {
    padding: var(--spacing-3xl) 0;
}

.courses-filter-header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover {
    background: var(--gray-100);
}

.filter-btn.active {
    background: var(--brand-500);
    color: white;
    border-color: var(--brand-500);
}

/* Search Input */
.courses-search {
    position: relative;
    width: 100%;
    max-width: 18rem;
}

.courses-search input {
    width: 100%;
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-family: inherit;
    background: var(--bg-white);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.courses-search input:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px var(--brand-50);
}

.courses-search input::placeholder {
    color: var(--gray-400);
}

.courses-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--gray-400);
    pointer-events: none;
}

/* No Results Message */
.no-courses-message {
    text-align: center;
    padding: var(--spacing-3xl) 0;
    color: var(--gray-500);
}

/* ==========================================================================
   8. Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.btn-primary {
    background-color: var(--brand-500);
    color: white;
}

.btn-primary:hover {
    background-color: var(--brand-600);
    color: white;
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--gray-100);
}

.btn-outline {
    background-color: transparent;
    color: var(--brand-500);
    border: 2px solid var(--brand-500);
}

.btn-outline:hover {
    background-color: var(--brand-500);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--text-primary);
}

.btn-white:hover {
    background-color: var(--gray-100);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ==========================================================================
   9. Footer
   ========================================================================== */

.site-footer {
    background-color: var(--gray-900);
    color: var(--gray-400);
    padding: var(--spacing-2xl) 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-lg);
}

/* Footer Logo */
.footer-branding {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-branding a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-branding .logo-icon {
    width: 40px;
    height: 40px;
}

.footer-branding .logo-icon::after {
    width: 26px;
    height: 26px;
    border-width: 4px;
}

.footer-branding .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-branding .logo-text .site-title {
    color: white !important;
}

.footer-branding .logo-text .site-tagline {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.footer-social a {
    color: var(--gray-400);
    transition: color var(--transition-normal);
}

.footer-social a:hover {
    color: white;
}

.footer-social svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Footer Copyright */
.footer-copyright {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.photo-credits-card {
    background: var(--gray-800);
    padding: 1rem 0;
    text-align: center;
}

.footer-photo-credit {
    font-size: 0.7rem;
    color: var(--gray-500);
    margin: 0;
}

.footer-photo-credit a {
    color: var(--gray-400);
    text-decoration: underline;
}

.footer-photo-credit a:hover {
    color: var(--gray-300);
}

/* ==========================================================================
   10. Introduction Section
   ========================================================================== */

.intro-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.intro-image {
    text-align: center;
}

.intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.intro-name {
    margin-top: var(--spacing-md);
    font-size: 1.125rem;
    color: var(--text-primary);
}

.intro-social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.intro-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    color: var(--gray-600);
    transition: all 0.2s ease;
}

.intro-social a:hover {
    background: var(--brand-500);
    color: white;
}

.intro-social svg {
    width: 20px;
    height: 20px;
}

.intro-text p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.7;
}

.intro-text strong {
    color: var(--text-primary);
}

.intro-signature {
    max-width: 200px;
    margin-top: var(--spacing-lg);
}

/* ==========================================================================
   11. Gallery Section
   ========================================================================== */

.gallery-section {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item a {
    display: block;
    position: relative;
    overflow: hidden;
}

.gallery-item a::after {
    content: "🔍";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.gallery-item a:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}

.gallery-item a:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.gallery-item figcaption {
    padding: var(--spacing-md);
    background: var(--bg-white);
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
}

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

/* Team Section */
.team-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    padding: var(--spacing-lg);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--spacing-md);
    border: 3px solid var(--gray-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.team-member h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.team-role {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-600);
    margin-bottom: var(--spacing-xs);
}

.team-email {
    font-size: 0.8rem;
    margin-bottom: var(--spacing-sm);
}

.team-email a {
    color: var(--gray-500);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.team-email a:hover {
    color: var(--brand-600);
    text-decoration: underline;
}

.team-email .email-icon {
    width: 0.9rem;
    height: 0.9rem;
    flex-shrink: 0;
}

.team-bio {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   12. Page Hero Section
   ========================================================================== */

.page-hero {
    background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-700) 50%, var(--brand-600) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-hero-with-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero-with-image .container {
    position: relative;
    z-index: 2;
}

.page-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-md);
}

.page-hero-subtitle {
    font-size: 1.25rem;
    color: var(--brand-100);
    margin-bottom: 0;
}

/* ==========================================================================
   13. About Page Sections
   ========================================================================== */

/* About Introduction */
.about-intro {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-white);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.about-intro-image {
    text-align: center;
}

.about-intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.about-social {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.social-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.625rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-btn svg {
    width: 18px;
    height: 18px;
}

.social-btn.whatsapp {
    background: #25D366;
    color: white;
}

.social-btn.whatsapp:hover {
    background: #1da851;
    color: white;
}

.social-btn.email {
    background: var(--brand-500);
    color: white;
}

.social-btn.email:hover {
    background: var(--brand-600);
    color: white;
}

.social-btn.linkedin {
    background: #0077B5;
    color: white;
}

.social-btn.linkedin:hover {
    background: #005582;
    color: white;
}

.about-intro-text p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-intro-text strong {
    color: var(--text-primary);
}

.about-intro-text a {
    color: var(--brand-500);
    text-decoration: underline;
}

.about-intro-text a:hover {
    color: var(--brand-600);
}

.about-signature {
    max-width: 200px;
    margin-top: var(--spacing-lg);
}

/* Experience Section */
.experience-section {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-50);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.experience-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--brand-500);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.experience-card h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.experience-card .company {
    font-weight: 600;
    color: var(--brand-600);
    margin-bottom: var(--spacing-xs);
}

.experience-card .location {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
}

.experience-card .reporting {
    color: var(--gray-500);
    font-size: 0.8125rem;
    font-style: italic;
    margin-bottom: 0;
}

/* Faculty Section */
.faculty-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-white);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.faculty-group h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.faculty-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faculty-group li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--text-secondary);
}

.faculty-group li:last-child {
    border-bottom: none;
}

.faculty-group a {
    color: var(--brand-500);
    font-weight: 500;
}

.faculty-group a:hover {
    color: var(--brand-600);
    text-decoration: underline;
}

/* Section Header */
.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 1.875rem;
    margin-bottom: var(--spacing-sm);
}

.section-header .lead {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Text Links */
.text-link {
    color: var(--brand-500);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.text-link:hover {
    color: var(--brand-600);
    text-decoration: underline;
}

/* ==========================================================================
   14. Contact Page Sections
   ========================================================================== */

.contact-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

/* Contact Methods */
.contact-methods h2,
.what-to-expect h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: var(--spacing-md);
}

.contact-card:hover {
    border-color: var(--brand-500);
    box-shadow: 0 4px 12px rgba(26, 111, 168, 0.15);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
}

.contact-card-icon.whatsapp {
    background: #25D366;
    color: white;
}

.contact-card-icon.email {
    background: var(--brand-500);
    color: white;
}

.contact-card-icon.linkedin {
    background: #0077B5;
    color: white;
}

.contact-card-content h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.contact-card-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
}

.contact-value {
    font-weight: 500;
    color: var(--brand-500);
    font-size: 0.9375rem;
}

/* What to Expect */
.what-to-expect {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.what-to-expect ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.what-to-expect li {
    padding: var(--spacing-md) 0;
    padding-left: 32px;
    position: relative;
    border-bottom: 1px solid var(--gray-200);
}

.what-to-expect li:last-child {
    border-bottom: none;
}

.what-to-expect li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-500);
    font-weight: bold;
    font-size: 1.125rem;
}

.what-to-expect li strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.what-to-expect li span {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.expect-image {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.expect-image img {
    max-width: 150px;
    border-radius: var(--radius-lg);
    margin: 0 auto;
}

/* ==========================================================================
   14b. Recent Engagements Section
   ========================================================================== */

.engagements-section {
    background: var(--gray-50);
}

.engagements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.engagement-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-100);
}

.engagement-badge {
    display: inline-block;
    background: var(--brand-500);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
}

.engagement-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

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

.engagement-details li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.engagement-details li:last-child {
    margin-bottom: 0;
}

.engagement-details svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: var(--brand-500);
}

@media (max-width: 640px) {
    .engagements-grid {
        grid-template-columns: 1fr;
    }
}

.engagements-updated {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ==========================================================================
   15. CTA Section
   ========================================================================== */

.cta-section {
    background: var(--bg-white);
    padding: var(--spacing-3xl) 0;
    border-top: 1px solid var(--gray-100);
}

.cta-box {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    border-radius: 1rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-xl);
}

.cta-content h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

/* CTA Photo */
.cta-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.cta-box-with-photo {
    flex-direction: column;
    align-items: center;
}

.cta-content p {
    color: var(--gray-300);
    max-width: 32rem;
    margin: 0;
}

/* ==========================================================================
   11. Forms
   ========================================================================== */

input,
textarea,
select {
    font-family: inherit;
    font-size: 1rem;
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px var(--brand-50);
}

/* Proposal Form Styles */
.proposal-intro {
    background: var(--bg-white);
}

.proposal-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .proposal-intro-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.proposal-intro-content .lead-text {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.proposal-intro-image img {
    max-width: 280px;
    border-radius: var(--radius-xl);
    margin: 0 auto;
    display: block;
}

/* Value Proposition Cards */
.value-props {
    background: var(--bg-light);
    padding: 3rem 0;
}

.value-props-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .value-props-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-prop-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.value-prop-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.value-prop-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.value-prop-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Form Section */
.form-section {
    background: var(--bg-white);
}

.proposal-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.proposal-form-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.proposal-form .form-group {
    margin-bottom: 1.5rem;
}

.proposal-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.proposal-form .required {
    color: #dc2626;
}

.proposal-form input[type="text"],
.proposal-form input[type="email"],
.proposal-form select,
.proposal-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    font-size: 1rem;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.proposal-form input:focus,
.proposal-form select:focus,
.proposal-form textarea:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px var(--brand-50);
}

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

/* Two-column form rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    .form-row .form-group {
        margin-bottom: 0;
    }
}

/* Checkbox styling */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--brand-500);
    cursor: pointer;
}

.other-topic-field {
    display: none;
    margin-top: 1rem;
}

/* File input */
.file-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    cursor: pointer;
    transition: border-color var(--transition-normal);
}

.file-input:hover,
.file-input:focus {
    border-color: var(--brand-500);
    outline: none;
}

.field-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.375rem;
}

/* Radio group */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
    color: var(--text-secondary);
}

.radio-label input[type="radio"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--brand-500);
    cursor: pointer;
}

/* Form privacy and alt CTA */
.form-privacy {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 1rem;
    margin-bottom: 0;
}

.form-alt-cta {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.form-alt-cta a {
    color: var(--brand-500);
    text-decoration: none;
    font-weight: 500;
}

.form-alt-cta a:hover {
    text-decoration: underline;
}

/* Honeypot field - hidden from users */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Form submit */
.form-submit {
    margin-top: 2rem;
    text-align: center;
}

.form-submit .btn {
    min-width: 250px;
}

/* Form errors */
.form-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.form-errors p {
    color: #dc2626;
    margin: 0;
    font-size: 0.9375rem;
}

.form-errors p + p {
    margin-top: 0.5rem;
}

/* Form success */
.form-success {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.form-success .success-icon {
    width: 80px;
    height: 80px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: #16a34a;
}

.form-success h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.form-success p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.form-success .success-signature {
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--text-muted);
}

/* What to Expect Section */
.expect-section {
    background: var(--bg-light);
}

.expect-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.expect-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .expect-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.expect-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.expect-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #16a34a;
}

.expect-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.expect-item p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   12. Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-brand { color: var(--brand-500); }
.text-muted { color: var(--text-muted); }
.text-white { color: white; }

.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }
.bg-brand { background-color: var(--brand-500); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Content Tables */
.course-content table,
.facilitation-formats {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-lg) 0 var(--spacing-xl);
    font-size: 0.95rem;
}

.course-content table th,
.facilitation-formats th {
    background: var(--gray-50);
    color: var(--text-primary);
    font-weight: 600;
    text-align: left;
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 2px solid var(--border-color);
}

.course-content table td,
.facilitation-formats td {
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.course-content table tbody tr:hover,
.facilitation-formats tbody tr:hover {
    background: var(--gray-50);
}

.course-content table td strong,
.facilitation-formats td strong {
    color: var(--text-primary);
}

/* Lead paragraph for intro text */
.course-content .lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

/* ==========================================================================
   13. Responsive Styles
   ========================================================================== */

@media (min-width: 640px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 2.75rem;
        white-space: nowrap;
    }

    .main-nav {
        display: block;
    }

    .mobile-nav-toggle {
        display: none;
    }

    .courses-filter-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cta-box {
        flex-direction: row;
        text-align: left;
        padding: 3.5rem;
    }

    .cta-box-with-photo {
        align-items: center;
    }

    .cta-photo {
        width: 100px;
        height: 100px;
    }

    .cta-content {
        flex: 1;
    }

    .cta-content h2 {
        font-size: 1.875rem;
    }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-2xl);
    }

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

@media (max-width: 767px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .course-card {
        max-width: 100%;
    }

    .hero-features {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .hero-section {
        align-items: flex-start;
        min-height: 300px;
        max-height: none;
        padding: 3rem 0;
    }

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

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

    .courses-search {
        max-width: 100%;
    }

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

    .intro-image {
        order: -1;
    }

    .intro-image img {
        max-width: 200px;
        margin: 0 auto;
    }

    .intro-text {
        text-align: left;
    }

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

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

    .gallery-item img {
        height: 150px;
    }

    /* About Page Responsive */
    .page-hero-title {
        font-size: 2rem;
    }

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

    .about-intro-image {
        order: -1;
    }

    .about-intro-image img {
        max-width: 200px;
        margin: 0 auto;
    }

    .about-intro-text {
        text-align: left;
    }

    .about-social {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-btn span {
        display: none;
    }

    .social-btn {
        padding: 0.75rem;
        border-radius: var(--radius-full);
    }

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

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

    /* Contact Page Responsive */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card-icon {
        width: 48px;
        height: 48px;
    }

    .contact-card-icon svg {
        width: 24px;
        height: 24px;
    }

    .what-to-expect {
        margin-top: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .gallery-grid,
    .gallery-grid-3 {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 200px;
    }
}

/* WordPress Specific */
.wp-block-button__link {
    background-color: var(--brand-500) !important;
    color: white !important;
    border-radius: var(--radius-lg) !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    font-family: 'DM Sans', sans-serif !important;
    transition: background-color var(--transition-normal) !important;
    border: none !important;
}

.wp-block-button__link:hover {
    background-color: var(--brand-600) !important;
}

.is-style-outline .wp-block-button__link {
    background-color: transparent !important;
    color: var(--brand-500) !important;
    border: 2px solid var(--brand-500) !important;
}

.is-style-outline .wp-block-button__link:hover {
    background-color: var(--brand-500) !important;
    color: white !important;
}

/* Admin bar adjustment */
body.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* ==========================================================================
   Single Course Page - Two Column Layout
   ========================================================================== */

.course-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.course-main-content {
    min-width: 0;
}

.course-sidebar {
    position: sticky;
    top: 6rem;
    height: fit-content;
}

/* Sidebar Boxes */
.sidebar-box {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-box h4 {
    color: var(--gray-900);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.sidebar-box p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.sidebar-box p:last-of-type {
    margin-bottom: 0;
}

.customisation-box {
    border-left: 4px solid var(--brand-500);
}

.sidebar-cta-box {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: white;
}

.sidebar-cta-box h4,
.sidebar-cta-box p {
    color: white;
}

.sidebar-cta-button {
    display: inline-block;
    background: white;
    color: var(--gray-900);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sidebar-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--gray-900);
}

/* Course Overview */
.course-overview {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.course-overview h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.course-overview-content {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
}

.course-overview-content p {
    margin: 0;
}

/* Flexible Delivery Callout */
.flexible-delivery-callout {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--brand-50);
    border-left: 4px solid var(--brand-500);
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.flexible-delivery-callout .callout-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.flexible-delivery-callout .callout-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-700);
}

.flexible-delivery-callout .callout-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.5;
}

/* Course CTA Box */
.course-cta {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: var(--radius-xl);
}

.course-cta h3 {
    margin-bottom: 0.5rem;
}

.course-cta p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

/* Fix bullet alignment on course pages */
.single-course .entry-content ul,
.single-course .entry-content ol {
    padding-left: 1.5em;
    margin-left: 0;
    margin-bottom: 1.5rem;
}

.single-course .entry-content li {
    padding-left: 0.5em;
    margin-bottom: 0.5em;
}

.single-course .entry-content h3 + ul,
.single-course .entry-content h3 + ol {
    margin-top: 0.75em;
}

/* Mobile: Single column */
@media (max-width: 900px) {
    .course-layout {
        grid-template-columns: 1fr;
    }
    
    .course-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

/* WhatsApp CTA Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp .whatsapp-icon {
    flex-shrink: 0;
}

/* ==========================================================================
   Request Proposal Page
   ========================================================================== */

/* Proposal Intro */
.proposal-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .proposal-intro-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.proposal-intro-content .lead-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--gray-700);
}

.proposal-intro-image img {
    max-width: 200px;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
}

/* Value Proposition Cards */
.value-props {
    background: var(--gray-50);
}

.value-props-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .value-props-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-prop-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.value-prop-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-prop-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.value-prop-card p {
    color: var(--gray-600);
    margin: 0;
}

/* Form Placeholder */
.form-placeholder {
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.form-placeholder h2 {
    font-size: 1.5rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.form-placeholder > p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.contact-alternatives {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-alt-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.contact-alt-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-alt-link.whatsapp:hover {
    color: #25D366;
}

.contact-alt-link.email:hover {
    color: var(--brand-500);
}

/* What to Expect Section */
.expect-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.expect-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .expect-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.expect-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.expect-icon {
    width: 24px;
    height: 24px;
    color: var(--brand-500);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.expect-item strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.expect-item p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.95rem;
}

/* ==========================================================================
   CTA Button Groups
   ========================================================================== */

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

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* Course CTA Buttons */
.course-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-outline {
    background: transparent;
    color: var(--brand-500);
    border: 2px solid var(--brand-500);
}

.btn-outline:hover {
    background: var(--brand-500);
    color: white;
}

/* Sidebar CTA Alt Link */
.sidebar-cta-alt {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.sidebar-cta-alt a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.sidebar-cta-alt a:hover {
    color: white;
}

/* Mobile stacking for CTA buttons */
@media (max-width: 480px) {
    .cta-buttons,
    .course-cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn,
    .course-cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
}
