@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #31BF49;
    --primary-rgb: 49, 191, 73;
    --secondary: #308D6E;
    --secondary-rgb: 48, 141, 110;
    --accent: #97E571;
    --accent-rgb: 151, 229, 113;
    --bg: #F7F8FA;
    --bg-alt: #EDEEF2;
    --text: #1E2128;
    --text-muted: #555A65;
    --section-dark: #1E2128;
    --section-accent: #E8EAF0;
    --white: #ffffff;
    --border: #D8DAE0;
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-secondary: system-ui, -apple-system, sans-serif;
    --radius: 6px;
    --radius-lg: 10px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --transition: 0.25s ease;
    --max-width: 1200px;
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientPan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes subtlePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--secondary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--text);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: 2rem; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }
h5 { font-size: 1rem; margin-bottom: 8px; }
h6 { font-size: 0.875rem; margin-bottom: 8px; }

p {
    margin-bottom: 16px;
    color: var(--text);
    line-height: 1.7;
}

ul, ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

li {
    margin-bottom: 6px;
    line-height: 1.6;
}

blockquote {
    border-left: 3px solid var(--secondary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--bg-alt);
    font-style: italic;
    color: var(--text-muted);
}

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

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.grid-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.grid-2 > * {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
}

.grid-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.grid-3 > * {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 260px;
}

.grid-4 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.grid-4 > * {
    flex: 1 1 calc(25% - 18px);
    min-width: 220px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo:hover {
    color: var(--primary);
}

.logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 8px 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(49, 191, 73, 0.06);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    z-index: 1001;
}

main {
    padding-top: 68px;
}

.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-color: var(--section-dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 33, 40, 0.82) 0%, rgba(30, 33, 40, 0.55) 50%, rgba(48, 141, 110, 0.4) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 0%, transparent 70%);
    bottom: -80px;
    left: -60px;
    z-index: 1;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 48px 24px;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-content .btn {
    margin: 0 6px;
}

.hero-orb {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.14) 0%, transparent 70%);
    top: -70px;
    right: -50px;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.header-hero {
    position: relative;
    padding: 80px 24px 56px;
    background: var(--section-dark);
    text-align: center;
    overflow: hidden;
}

.header-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,33,40,0.95), rgba(48,141,110,0.2));
    z-index: 1;
}

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

.header-hero h1 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.header-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
}

.content-section {
    padding: 64px 0;
}

.content-section:nth-child(even) {
    background: var(--bg-alt);
}

.section-dark {
    background: var(--section-dark);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255,255,255,0.78);
}

.section-dark a {
    color: var(--accent);
}

.section-dark a:hover {
    color: var(--primary);
}

.section-accent {
    background: var(--section-accent);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    font-size: 1rem;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.7);
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1), 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.card:hover img {
    transform: scale(1.04);
}

.card-body {
    padding: 24px;
}

.card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.feature {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.feature:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: var(--radius-lg);
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    font-size: 1.4rem;
}

.feature h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.section-dark .feature {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

.section-dark .feature:hover {
    border-color: var(--primary);
    background: rgba(255,255,255,0.08);
}

.section-dark .feature-icon {
    background: rgba(var(--accent-rgb), 0.15);
    color: var(--accent);
}

.section-dark .feature h3 {
    color: var(--white);
}

.section-dark .feature p {
    color: rgba(255,255,255,0.65);
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 3rem;
    color: var(--accent);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.5;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-top: 16px;
    font-size: 0.95rem;
}

.testimonial-card .author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    font-style: normal;
}

.testimonial-card .role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.section-dark .testimonial-card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}

.section-dark .testimonial-card p {
    color: rgba(255,255,255,0.75);
}

.section-dark .testimonial-card .author {
    color: var(--white);
}

.section-dark .testimonial-card .role {
    color: rgba(255,255,255,0.55);
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.12);
    position: relative;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 16px 0;
}

.pricing-card .price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    text-align: left;
}

.pricing-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--bg-alt);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.two-col-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.two-col-layout > * {
    flex: 1 1 calc(50% - 24px);
    min-width: 300px;
}

.two-col-layout.reverse {
    flex-direction: row-reverse;
}

.two-col-layout img {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: cover;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.4;
    text-decoration: none;
}

.btn-primary {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    background: linear-gradient(to right, var(--primary) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right;
    transition: background-position 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.4;
    text-align: center;
}

.btn-primary:hover {
    background-position: left;
    color: var(--white);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.hero .btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.hero .btn-outline:hover {
    background: var(--white);
    color: var(--text);
    border-color: var(--white);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

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

form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

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

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-info-grid .info-item {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 200px;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    text-align: center;
}

.contact-info-grid .info-item i {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--bg-alt);
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 400;
    transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    padding: 0 20px 16px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

table th,
table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

table th {
    font-weight: 600;
    color: var(--text);
    background: var(--bg-alt);
}

table tr:hover td {
    background: rgba(var(--primary-rgb), 0.02);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.badge-accent {
    background: rgba(var(--accent-rgb), 0.15);
    color: #3d7a24;
}

.stat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    text-align: center;
}

.stat-grid .stat {
    flex: 1 1 calc(25% - 18px);
    min-width: 140px;
    padding: 24px 16px;
}

.stat-grid .stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-grid .stat .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.section-dark .stat .number {
    color: var(--accent);
}

.section-dark .stat .label {
    color: rgba(255,255,255,0.6);
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 56px 24px;
    text-align: center;
    border-radius: var(--radius-lg);
    color: var(--white);
    margin: 48px 0;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.cta-banner p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn-primary {
    border-color: var(--white);
    color: var(--white);
    background: linear-gradient(to right, var(--white) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right;
}

.cta-banner .btn-primary:hover {
    background-position: left;
    color: var(--primary);
}

.section-angled {
    position: relative;
    padding: 80px 0 96px;
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    margin-top: -24px;
    margin-bottom: -24px;
}

.section-divider {
    display: block;
    width: 100%;
    height: auto;
    margin: -1px 0;
    line-height: 0;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.section-divider.flip {
    transform: scaleY(-1);
}

footer.footer-minimal {
    padding: 32px 24px;
    background: var(--section-dark);
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

footer.footer-minimal .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    max-width: var(--max-width);
    margin: 0 auto;
}

footer.footer-minimal .footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

footer.footer-minimal .footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    transition: color var(--transition);
}

footer.footer-minimal .footer-links a:hover {
    color: var(--accent);
}

footer.footer-minimal p {
    margin: 0;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
}

footer .footer-brand {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
}

footer .social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: background var(--transition), color var(--transition);
}

footer .social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-in"] {
    transform: none;
}

[data-animate="fade-in"].visible {
    opacity: 1;
}

[data-animate="slide-left"] {
    transform: translateX(-28px);
}

[data-animate="slide-left"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="slide-right"] {
    transform: translateX(28px);
}

[data-animate="slide-right"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="scale-in"] {
    transform: scale(0.95);
}

[data-animate="scale-in"].visible {
    opacity: 1;
    transform: scale(1);
}

[data-stagger] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-stagger] > *.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.portfolio-item {
    flex: 1 1 calc(33.333% - 12px);
    min-width: 260px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.portfolio-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.06);
}

.portfolio-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,33,40,0.85), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item .overlay h4 {
    color: var(--white);
    font-size: 0.95rem;
}

.portfolio-item .overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
}

.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
    padding-left: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--white);
}

.timeline-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.timeline-item .date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.location-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: border-color var(--transition);
}

.location-card:hover {
    border-color: var(--primary);
}

.location-card i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.location-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.location-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.event-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.event-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.event-card .event-date {
    background: var(--primary);
    color: var(--white);
    padding: 12px 16px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.event-card .event-body {
    padding: 20px;
}

.event-card .event-body h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.event-card .event-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.resource-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: border-color var(--transition), transform var(--transition);
}

.resource-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.resource-card .resource-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: rgba(var(--primary-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.resource-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.resource-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.breadcrumb {
    padding: 12px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
}

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

.breadcrumb span {
    margin: 0 6px;
    opacity: 0.5;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: border-color var(--transition), color var(--transition);
}

.tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: 1px solid;
}

.alert-info {
    background: rgba(var(--secondary-rgb), 0.06);
    border-color: rgba(var(--secondary-rgb), 0.2);
    color: var(--secondary);
}

.alert-success {
    background: rgba(var(--primary-rgb), 0.06);
    border-color: rgba(var(--primary-rgb), 0.2);
    color: var(--primary);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    [data-stagger] > * {
        opacity: 1;
        transform: none;
    }
}

@media screen and (max-width: 1280px) {
    .container {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }
}

@media screen and (max-width: 1024px) {
    .grid-4 > * {
        flex: 1 1 calc(50% - 12px);
    }

    .stat-grid .stat {
        flex: 1 1 calc(50% - 12px);
    }

    .two-col-layout {
        gap: 32px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .content-section {
        padding: 48px 0;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 4px;
        box-shadow: 4px 0 24px rgba(0,0,0,0.12);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active,
    .nav-menu.open {
        display: flex;
        transform: translateX(0);
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 0.95rem;
        border-bottom: 1px solid var(--bg-alt);
        border-radius: 0;
    }

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

    .hero {
        min-height: 60vh;
    }

    .hero-content {
        padding: 32px 16px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .header-hero {
        padding: 64px 16px 40px;
    }

    .header-hero h1 {
        font-size: 1.6rem;
    }

    .grid-2 > *,
    .grid-3 > *,
    .grid-4 > * {
        flex: 1 1 100%;
    }

    .two-col-layout {
        flex-direction: column;
        gap: 24px;
    }

    .two-col-layout.reverse {
        flex-direction: column;
    }

    .two-col-layout > * {
        min-width: 100%;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .content-section {
        padding: 40px 0;
    }

    .stat-grid .stat {
        flex: 1 1 100%;
    }

    .portfolio-item {
        flex: 1 1 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-info-grid .info-item {
        flex: 1 1 100%;
    }

    .cta-banner {
        padding: 40px 20px;
        margin: 32px 0;
    }

    .cta-banner h2 {
        font-size: 1.4rem;
    }

    .section-angled {
        clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
        padding: 56px 0 64px;
    }

    footer.footer-minimal .footer-content {
        flex-direction: column;
        gap: 16px;
    }

    footer.footer-minimal .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline-item {
        padding-left: 16px;
    }

    .timeline-item::before {
        left: -29px;
    }

    .location-card {
        flex-direction: column;
    }

    .resource-card {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 15px;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero {
        min-height: 55vh;
    }

    .card img {
        height: 160px;
    }

    .pricing-card .price {
        font-size: 1.75rem;
    }

    .nav-menu {
        width: 100%;
    }

    .container {
        padding: 0 16px;
    }
}

@media print {
    .navbar,
    .mobile-menu-toggle,
    footer {
        display: none;
    }

    main {
        padding-top: 0;
    }

    .hero {
        min-height: auto;
        padding: 24px;
    }

    .hero::before,
    .hero::after,
    .hero-orb {
        display: none;
    }

    .hero-content {
        color: var(--text);
    }

    .hero-content h1 {
        color: var(--text);
    }
}
