@import url('https://fonts.cdnfonts.com/css/opendyslexic');

:root {
    --primary: #1A365D;
    --primary-light: #2B4C7E;
    --accent: #2C7A7B;
    --accent-light: #38B2AC;
    --text-main: #2D3748;
    --text-muted: #4A5568;
    --bg-main: #FFFFFF;
    --bg-light: #F7FAFC;
    --border-color: #E2E8F0;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    --primary: #C8B8A2;
    --primary-light: #DDD0BF;
    --accent: #C2BAB0;
    --accent-light: #DAD4CC;
    --text-main: #EDE8E2;
    --text-muted: #D1C9C0;
    --bg-main: #1C1917;
    --bg-light: #262220;
    --border-color: #3D3733;
    --nav-bg: rgba(28, 25, 23, 0.96);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -1px rgba(0,0,0,0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.5), 0 10px 10px -5px rgba(0,0,0,0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.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;
}

html {
    width: 100%;
    min-height: 100vh;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
    transition: background-color 0.3s ease;
}

.section-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-header.center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}

.btn:active::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition: 0s;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-main);
    transition: var(--transition);
}

[data-theme="dark"] .btn-primary {
    color: #1C1917;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-main);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .btn-outline:hover {
    color: #1C1917;
}

.w-100 {
    width: 100%;
}

.mt-3 {
    margin-top: 1.5rem;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .nav-container {
    height: 70px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-width: fit-content;
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0.5rem;
    border-radius: 50%;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    color: var(--primary);
    background-color: var(--bg-light);
}

.theme-toggle:active {
    transform: scale(0.9);
}

#themeIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle.animating #themeIcon {
    transform: rotate(360deg) scale(0);
}

.hamburger-btn {
    display: none;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1001;
}

.hamburger-btn:hover {
    color: var(--primary);
    background-color: var(--bg-main);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .hamburger-btn {
    background: var(--bg-light);
    border-color: var(--border-color);
    color: var(--text-main);
}

[data-theme="dark"] .hamburger-btn:hover {
    background: var(--bg-main);
    color: var(--primary);
    border-color: var(--primary);
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.3s ease;
    line-height: 1.2;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.logo-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    padding: 12rem 0 8rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-main) 100%);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(56, 178, 172, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

[data-theme="dark"] .hero::before {
    background: radial-gradient(circle, rgba(79, 209, 197, 0.05) 0%, transparent 70%);
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-title, .hero-subtitle, .hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation-delay: 0.15s;
    transition: color 0.3s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform-origin: center;
    transition: box-shadow 0.3s ease;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.credentials {
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.bio {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.0625rem;
    transition: color 0.3s ease;
}

.approach-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.approach-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.approach-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-weight: 500;
    transition: transform 0.2s ease, color 0.3s ease;
}

.approach-list li:hover {
    transform: translateX(5px);
}

.approach-list svg {
    color: var(--accent);
    transition: color 0.3s ease;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-main);
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

[data-theme="dark"] .service-card {
    border: 1px solid var(--border-color);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-8px) scale(1.02);
}

[data-theme="dark"] .service-card:hover {
    border-color: var(--accent);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    background: var(--accent);
    color: var(--bg-main);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}


.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-main);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

[data-theme="dark"] .faq-item {
    border-color: var(--border-color);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .faq-question {
    color: var(--primary-light);
}

.faq-icon {
    color: var(--accent);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}


.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    transition: color 0.3s ease;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(8px);
}

.info-item-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    padding: 0.75rem 1rem;
    margin: -0.75rem -1rem;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.info-item-link:hover {
    background-color: var(--bg-light);
    transform: translateX(8px);
}

[data-theme="dark"] .info-item-link:hover {
    background-color: var(--bg-light);
}

.info-item svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

.info-item strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.info-item span {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.trust-badges svg {
    color: var(--accent);
    transition: color 0.3s ease;
}

.form-wrapper {
    background: var(--bg-main);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.4s ease;
}

.form-wrapper:hover {
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .form-wrapper:hover {
    border-color: var(--accent);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    background-color: var(--bg-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(44, 122, 123, 0.1);
    transform: translateY(-1px);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    box-shadow: 0 0 0 4px rgba(79, 209, 197, 0.15);
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label {
    color: var(--accent);
}

.footer {
    background-color: var(--primary);
    color: var(--bg-main);
    padding: 3rem 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .footer {
    background-color: #141210;
    border-top: 1px solid var(--border-color);
    color: var(--text-main);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo .logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-main);
}

.footer-logo .logo-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-light);
}

[data-theme="dark"] .footer-logo .logo-name {
    color: var(--primary-light);
}

.footer-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}

[data-theme="dark"] .footer-text {
    color: var(--text-muted);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(160deg, rgba(255,255,255,0.97) 0%, rgba(245,243,240,0.99) 100%);
    backdrop-filter: blur(20px);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 1;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
    visibility: visible;
}

[data-theme="dark"] .mobile-menu-overlay {
    background: linear-gradient(160deg, rgba(28,25,23,0.98) 0%, rgba(20,18,16,0.99) 100%);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 7rem 2.5rem 2.5rem;
    max-width: 480px;
    margin: 0 auto;
}


.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    justify-content: center;
}

.mobile-nav-link {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    transition: color 0.3s ease, border-color 0.3s ease;
}

/* Keyframe for link entrance */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-menu-overlay.active .mobile-nav-link {
    animation: slideInLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.08s + var(--i) * 0.08s);
}

/* Reset when menu closes — no reverse animation */
.mobile-menu-overlay:not(.active) .mobile-nav-link {
    animation: none;
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-nav-link:first-child {
    border-top: 1px solid var(--border-color);
}

.mobile-nav-link:hover {
    color: var(--accent);
}

.mobile-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    color: var(--accent);
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.mobile-nav-link:hover .mobile-nav-icon {
    background: var(--accent);
    color: var(--bg-main);
    transform: scale(1.1);
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1.5rem;
    opacity: 0;
    transform: translateY(16px);
}

.mobile-menu-overlay.active .mobile-menu-footer {
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.mobile-menu-overlay:not(.active) .mobile-menu-footer {
    animation: none;
    opacity: 0;
    transform: translateY(16px);
}

.mobile-cta-btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.mobile-menu-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.02em;
    transition: color 0.5s ease;
}

/* Dark mode overrides */
[data-theme="dark"] .mobile-nav-link:hover {
    color: var(--primary);
}

[data-theme="dark"] .mobile-nav-icon {
    color: var(--primary);
    background: var(--bg-light);
}

[data-theme="dark"] .mobile-nav-link:hover .mobile-nav-icon {
    background: var(--primary);
    color: #1C1917;
}

[data-theme="dark"] .nav-links a:hover {
    color: var(--primary);
}

[data-theme="dark"] .nav-links a::after {
    background-color: var(--primary);
}

[data-theme="dark"] .theme-toggle:hover {
    color: var(--primary);
}

[data-theme="dark"] .section-tag {
    color: var(--primary-light);
}

[data-theme="dark"] .credentials {
    color: var(--primary);
}

[data-theme="dark"] .approach-list svg {
    color: var(--primary);
}

[data-theme="dark"] .service-card:hover {
    border-color: var(--primary);
}

[data-theme="dark"] .service-card:hover .service-icon {
    background: var(--primary);
    color: #1C1917;
}

[data-theme="dark"] .info-item svg {
    color: var(--primary);
}

[data-theme="dark"] .trust-badges svg {
    color: var(--primary);
}

[data-theme="dark"] .form-wrapper:hover {
    border-color: var(--primary);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(192, 186, 176, 0.2);
}

[data-theme="dark"] .form-group select {
    background-color: var(--bg-light);
    color: var(--text-main);
    color-scheme: dark;
}

[data-theme="dark"] .form-group select option {
    background-color: var(--bg-light);
    color: var(--text-main);
}

[data-theme="dark"] .form-group select option:checked,
[data-theme="dark"] .form-group select option:hover {
    background-color: var(--primary);
    color: #1C1917;
}


.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-main);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 990;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .scroll-top-btn {
    background: var(--primary);
    color: #1C1917;
}

[data-theme="dark"] .scroll-top-btn:hover {
    background: var(--primary-light);
}


.info-link {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

[data-theme="dark"] .info-link {
    color: var(--primary);
}

[data-theme="dark"] .info-link:hover {
    color: var(--primary-light);
}

@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .book-btn {
        display: none !important;
    }

    .hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 3;
    }

    #themeToggle {
        order: 2;
    }

    .section {
        padding: 4rem 0;
    }
    
    .hero {
        padding: 8rem 0 4rem;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}


.floating-wa {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-wa:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
    color: white;
}


.about-tabs {
    margin-top: 2rem;
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: var(--bg-main);
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.75rem 1rem;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
    animation: fadeInTab 0.4s ease forwards;
}

.tab-content.active {
    display: block;
}

#tab-education {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

#tab-education::-webkit-scrollbar {
    width: 5px;
}

#tab-education::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

#tab-education::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

#tab-education::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.6;
    transition: transform 0.2s ease, color 0.5s ease;
}

.about-list li:hover {
    transform: translateX(5px);
    color: var(--primary);
}

.about-list li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}


@media (max-width: 768px) {
    .floating-wa {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 50px;
        height: 50px;
    }
    .floating-wa svg {
        width: 25px;
        height: 25px;
    }
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-main);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    border: 1px solid var(--border-color);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-icon-wrapper {
    width: 72px;
    height: 72px;
    background-color: rgba(56, 178, 172, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent);
}

[data-theme="dark"] .modal-icon-wrapper {
    background-color: rgba(194, 186, 176, 0.1);
}

.modal-icon {
    width: 36px;
    height: 36px;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.modal-overlay.active .modal-icon {
    animation: drawCheck 0.6s ease forwards 0.3s;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

[data-theme="dark"] .modal-title {
    color: var(--primary-light);
}

.modal-message {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ============================================
   ACCESSIBILITY FEATURES
   ============================================ */


.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--primary);
    color: var(--bg-main);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    z-index: 10000;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 1rem;
}


*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

.btn:focus-visible,
.tab-btn:focus-visible,
.faq-question:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}


@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}


[data-a11y-motion="true"] *,
[data-a11y-motion="true"] *::before,
[data-a11y-motion="true"] *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
}

[data-a11y-motion="true"] .reveal {
    opacity: 1;
    transform: none;
}


[data-a11y-contrast="true"] {
    --text-main: #000000;
    --text-muted: #1a1a1a;
    --bg-main: #FFFFFF;
    --bg-light: #F0F0F0;
    --border-color: #000000;
    --primary: #00008B;
    --primary-light: #0000CD;
    --accent: #006400;
    --accent-light: #008000;
}

[data-a11y-contrast="true"][data-theme="dark"] {
    --text-main: #FFFFFF;
    --text-muted: #E0E0E0;
    --bg-main: #000000;
    --bg-light: #1A1A1A;
    --border-color: #FFFFFF;
    --primary: #FFD700;
    --primary-light: #FFEA00;
    --accent: #00FF7F;
    --accent-light: #7FFFAA;
}

[data-a11y-contrast="true"] .service-card,
[data-a11y-contrast="true"] .faq-item,
[data-a11y-contrast="true"] .form-wrapper {
    border-width: 2px;
}


[data-a11y-dyslexia="true"] * {
    font-family: 'OpenDyslexic', 'Inter', sans-serif !important;
    letter-spacing: 0.05em;
    word-spacing: 0.15em;
}


[data-a11y-links="true"] a,
[data-a11y-links="true"] button:not(.a11y-switch):not(.a11y-font-btn):not(.a11y-close-btn):not(.a11y-reset-btn):not(.a11y-toggle-btn) {
    outline: 2px dashed var(--accent) !important;
    outline-offset: 2px;
    text-decoration: underline !important;
}


.reading-guide {
    display: none;
    position: fixed;
    left: 0;
    width: 100%;
    height: 30px;
    background: rgba(44, 122, 123, 0.15);
    border-top: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
    pointer-events: none;
    z-index: 99999;
}

[data-a11y-guide="true"] .reading-guide {
    display: block;
}

/* ============================================
   ACCESSIBILITY WIDGET
   ============================================ */


.a11y-toggle-btn {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-main);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 1001;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.a11y-toggle-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-light);
}

[data-theme="dark"] .a11y-toggle-btn {
    color: #1C1917;
}


.a11y-panel {
    position: fixed;
    bottom: 6.5rem;
    right: 2rem;
    width: 340px;
    max-height: 80vh;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto;
}

.a11y-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.a11y-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.a11y-panel-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--primary);
    margin: 0;
}

.a11y-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.a11y-close-btn:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.a11y-panel-body {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.a11y-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border-color);
}

.a11y-option:last-of-type {
    border-bottom: none;
}

.a11y-option-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}


.a11y-font-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.a11y-font-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    color: var(--text-main);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.a11y-font-btn:hover {
    background: var(--primary);
    color: var(--bg-main);
    border-color: var(--primary);
}

[data-theme="dark"] .a11y-font-btn:hover {
    color: #1C1917;
}

.a11y-font-btn:active {
    transform: scale(0.92);
}

.a11y-font-level {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    min-width: 44px;
    text-align: center;
}


.a11y-switch {
    position: relative;
    width: 46px;
    height: 26px;
    background: var(--border-color);
    border: none;
    border-radius: 13px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.a11y-switch[aria-checked="true"] {
    background: var(--accent);
}

[data-theme="dark"] .a11y-switch[aria-checked="true"] {
    background: var(--primary);
}

.a11y-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.a11y-switch[aria-checked="true"] .a11y-switch-thumb {
    transform: translateX(20px);
}


.a11y-reset-btn {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.a11y-reset-btn:hover {
    background: var(--primary);
    color: var(--bg-main);
    border-color: var(--primary);
}

[data-theme="dark"] .a11y-reset-btn:hover {
    color: #1C1917;
}


@media (max-width: 768px) {
    .a11y-toggle-btn {
        bottom: 5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
    .a11y-toggle-btn svg {
        width: 22px;
        height: 22px;
    }
    .a11y-panel {
        right: 1rem;
        left: 1rem;
        bottom: 8.5rem;
        width: auto;
        max-height: 65vh;
    }
    .scroll-top-btn {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

.footer {
    padding: 4rem 0;
    background-color: var(--primary);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-logo .logo-name {
    color: white;
}

.footer-logo .logo-title {
    color: var(--accent-light);
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-align: right;
}

.a11y-statement-btn {
    background: none;
    border: none;
    color: white;
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    margin-top: 0.5rem;
    opacity: 0.8;
    display: block;
    margin-left: auto;
}

.a11y-statement-btn:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-text {
        text-align: center;
    }
    .a11y-statement-btn {
        margin-left: auto;
        margin-right: auto;
    }
}


.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    width: 100%;
}



.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--primary);
    color: var(--bg-main);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.4s cubic-bezier(0.17, 0.84, 0.44, 1) forwards;
    pointer-events: auto;
    border: 1px solid var(--border-color);
}

.toast.hiding {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
    to { opacity: 0; transform: translateY(-20px) scale(0.9); }
}
