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

:root {
    --primary: #2B21DE;
    --primary-rgb: 43, 33, 222;
    --secondary: #7A76D6;
    --secondary-rgb: 122, 118, 214;
    --accent: #8F8AF5;
    --accent-rgb: 143, 138, 245;
    --bg: #FAFAFA;
    --bg-alt: #F3F4F6;
    --text: #1F2937;
    --text-muted: #6B7280;
    --section-dark: #1F2937;
    --section-accent: #F0F2F5;
    --white: #ffffff;
    --border: #E5E7EB;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 999px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.16);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: 0.3s ease;
    --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(1deg); }
    66% { transform: translateY(-8px) rotate(-1deg); }
}

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

@keyframes gradientShift {
    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 {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    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-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.625rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text);
}

ul, ol {
    padding-left: 1.5rem;
}

.container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.container > * {
    grid-column: 1 / -1;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
}

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

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

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

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

.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1100px;
    width: 92%;
    transition: all 0.35s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    padding: 0.6rem 1.75rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.03em;
    transition: color var(--transition);
}

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

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

.nav-item {
    list-style: none;
}

.nav-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(43, 33, 222, 0.06);
}

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

main {
    padding-top: 5rem;
}

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(270deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 200%;
    animation: gradientShift 14s ease infinite;
    color: var(--white);
    overflow: hidden;
    padding: 6rem 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(143, 138, 245, 0.2) 0%, transparent 70%);
    top: -120px;
    right: -100px;
    z-index: 0;
    animation: float 7s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .btn {
    margin: 0.5rem;
}

.header-hero {
    position: relative;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.header-hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
    top: -80px;
    left: -60px;
    animation: float 8s ease-in-out infinite;
}

.header-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.header-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.content-section {
    padding: 5rem 0;
    width: 100%;
    position: relative;
}

.content-section .container {
    display: block;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-dark {
    background-color: 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.8);
}

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

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

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

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

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

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.section-dark .section-header h2::after {
    background: linear-gradient(90deg, var(--accent), var(--white));
}

.card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
    position: relative;
    overflow: hidden;
}

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

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    transition: transform 0.5s ease;
}

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

.card h3,
.card h4 {
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition-bounce);
    position: relative;
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.08));
    color: var(--primary);
    font-size: 1.5rem;
    transition: all var(--transition);
}

.feature:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    transform: scale(1.1);
}

.feature h3,
.feature h4 {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.feature p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    transition: all var(--transition);
}

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

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    padding-top: 1rem;
}

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

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 2px solid var(--border);
    transition: all var(--transition-bounce);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.03) 0%, var(--white) 100%);
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
    font-family: var(--font-heading);
}

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

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0;
}

.two-col-layout.reverse {
    direction: rtl;
}

.two-col-layout.reverse > * {
    direction: ltr;
}

.two-col-layout img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.two-col-layout h2 {
    margin-bottom: 1rem;
}

.two-col-layout p {
    color: var(--text-muted);
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-size: 150% 150%;
    background-position: 0% 50%;
    transition: background-position 0.4s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-position: 100% 50%;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-secondary {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
    transform: translateY(-2px);
}

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

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

.section-dark .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

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

.btn-lg {
    padding: 1.1rem 3rem;
    font-size: 1.05rem;
}

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

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

form {
    max-width: 700px;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

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

textarea {
    min-height: 140px;
    resize: vertical;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    padding: 3rem 0;
}

.stat-item h3,
.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
}

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

.stat-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

.masonry-grid {
    columns: 3;
    column-gap: 2rem;
}

.masonry-grid > * {
    break-inside: avoid;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--primary-rgb), 0.7), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    color: var(--white);
}

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

.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.before-after-container img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.before-after-container .label {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.before-after-container .label.before {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.before-after-container .label.after {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item:hover {
    border-color: var(--secondary);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    font-size: 1rem;
    transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
    transition: transform var(--transition);
}

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

.faq-item[open] summary {
    background: var(--section-accent);
}

.faq-item .faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.timeline {
    position: relative;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.15rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item h4 {
    margin-bottom: 0.3rem;
}

.timeline-item .date {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.team-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all var(--transition-bounce);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.25rem;
    border: 4px solid var(--section-accent);
    transition: border-color var(--transition);
}

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

.team-card h4 {
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

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

.badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.badge-accent {
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent);
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 3rem 0;
    border: none;
}

.cta-block {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -60px;
    right: -40px;
}

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

.cta-block p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta-block .btn-primary {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
}

.cta-block .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

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

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

.news-card:hover img {
    transform: scale(1.05);
}

.news-card .news-body {
    padding: 1.5rem;
}

.news-card .news-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
}

.news-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

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

.event-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid var(--border);
    align-items: start;
    transition: all var(--transition);
}

.event-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.event-date {
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    min-width: 70px;
}

.event-date .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.event-date .day {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
}

.event-info h4 {
    margin-bottom: 0.35rem;
}

.event-info .event-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

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

.resource-card {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border);
    align-items: center;
    transition: all var(--transition);
}

.resource-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

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

.resource-card h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

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

.section-fade {
    position: relative;
}

.section-fade::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--section-accent));
    pointer-events: none;
}

.section-fade::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, transparent, var(--section-accent));
    pointer-events: none;
}

.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);
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    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(-30px);
}

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

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

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

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

[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);
}

footer.footer-mega {
    background: var(--section-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 2rem 2rem;
}

footer.footer-mega .footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

footer.footer-mega .footer-column h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

footer.footer-mega .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer.footer-mega .footer-column li {
    margin-bottom: 0.6rem;
}

footer.footer-mega .footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

footer.footer-mega .footer-column a:hover {
    color: var(--accent);
    padding-left: 4px;
}

footer.footer-mega .footer-column p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

footer.footer-mega .footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

footer.footer-mega .footer-copyright a {
    color: rgba(255, 255, 255, 0.5);
}

footer.footer-mega .footer-copyright a:hover {
    color: var(--accent);
}

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

.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: all var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

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

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

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

.tag {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: var(--section-accent);
    color: var(--text-muted);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.15rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    border-left: 4px solid;
}

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

.alert-success {
    background: rgba(16, 185, 129, 0.06);
    border-color: #10B981;
    color: #10B981;
}

.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-sm);
}

table {
    width: 100%;
    border-collapse: collapse;
}

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

th {
    font-family: var(--font-heading);
    font-weight: 600;
    background: var(--section-accent);
    color: var(--text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

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

.icon-list {
    list-style: none;
    padding: 0;
}

.icon-list li {
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text);
    font-size: 0.95rem;
}

.icon-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

blockquote {
    border-left: 4px solid var(--accent);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(var(--accent-rgb), 0.04);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text);
}

blockquote p {
    margin-bottom: 0;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card-grid > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
}

@media screen and (min-width: 769px) {
    .service-card-grid > *:last-child:nth-child(odd) {
        max-width: 48%;
    }
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    counter-reset: step;
}

.process-step {
    text-align: center;
    position: relative;
    counter-increment: step;
}

.process-step::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
    font-family: var(--font-heading);
}

.process-step h4 {
    margin-bottom: 0.5rem;
}

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

@media screen and (max-width: 1024px) {
    .navbar {
        width: 95%;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.875rem; }

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

    .two-col-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .two-col-layout.reverse {
        direction: ltr;
    }

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

    .masonry-grid {
        columns: 2;
    }

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

@media screen and (max-width: 768px) {
    .navbar {
        border-radius: var(--radius-md);
        padding: 0.75rem 1rem;
        top: 0.5rem;
        flex-direction: column;
        width: 96%;
    }

    .nav-container {
        flex-wrap: wrap;
    }

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

    .nav-menu {
        max-height: 0;
        overflow: hidden;
        width: 100%;
        flex-direction: column;
        gap: 0;
        transition: max-height 0.35s ease;
    }

    .nav-menu.active {
        max-height: 500px;
        padding-top: 0.5rem;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        text-align: center;
        border-radius: var(--radius-sm);
    }

    main {
        padding-top: 4.5rem;
    }

    .hero {
        min-height: 75vh;
        padding: 5rem 1.5rem 4rem;
    }

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

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

    .header-hero {
        padding: 6.5rem 1.5rem 3rem;
    }

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

    .content-section {
        padding: 3.5rem 0;
    }

    .content-section .container {
        padding: 0 1.25rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.35rem; }

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

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

    .before-after-container {
        grid-template-columns: 1fr;
    }

    .stats-section {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .masonry-grid {
        columns: 1;
    }

    .event-card {
        grid-template-columns: 1fr;
    }

    .resource-card {
        flex-direction: column;
        text-align: center;
    }

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

    .cta-block {
        padding: 2.5rem 1.5rem;
    }

    footer.footer-mega .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        min-height: 70vh;
        padding: 4.5rem 1rem 3.5rem;
    }

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

    .hero::before {
        width: 250px;
        height: 250px;
    }

    .hero::after {
        width: 180px;
        height: 180px;
    }

    .header-hero {
        padding: 6rem 1rem 2.5rem;
    }

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

    .content-section {
        padding: 2.5rem 0;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }

    .stat-item h3,
    .stat-item .stat-number {
        font-size: 2rem;
    }

    .card {
        padding: 1.5rem;
    }

    .feature {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .team-card img {
        width: 90px;
        height: 90px;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

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

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

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

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

    main {
        padding-top: 0;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

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

    .hero {
        min-height: auto;
        padding: 2rem;
        background: none;
        color: #000;
    }

    .hero-content h1,
    .header-hero h1 {
        color: #000;
    }
}
