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

:root {
    --primary-blue: #007FFF;
    --accent-orange: #FF8C00;
    --dark-grey: #333333;
    --white: #FFFFFF;
    --light-grey: #F8F8F8;
    --font-primary: 'Montserrat', Arial, sans-serif;
    --transition-smooth: ease-in-out 0.2s;
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--dark-grey);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========== HEADER STYLES ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.shrink {
    height: 60px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    transition: height 0.3s ease;
}

.header.shrink .header-inner {
    height: 60px;
}

.logo {
    display: block;
    height: 50px;
    transition: height 0.3s ease;
}

.header.shrink .logo {
    height: 40px;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark-grey);
    margin: 3px 0;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 999;
}

.nav-menu.active {
    right: 0;
}

.nav-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--dark-grey);
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu .cta-button {
    margin-top: 1rem;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-align: center;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 127, 255, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

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

.btn-accent:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.3);
}

.btn:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-split {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-block {
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.hero-block.quickbooks {
    background: linear-gradient(135deg, rgba(0, 127, 255, 0.1) 0%, rgba(0, 127, 255, 0.05) 100%);
    border: 2px solid var(--primary-blue);
}

.hero-block.it {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0.05) 100%);
    border: 2px solid var(--accent-orange);
}

.hero-block h1 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.hero-block p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.hero-block .btn {
    width: 100%;
    max-width: 250px;
}

/* ========== SECTIONS ========== */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--dark-grey);
    margin-bottom: 1rem;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Background variations */
.bg-light {
    background: var(--light-grey);
}

.bg-blue {
    background: var(--primary-blue);
    color: var(--white);
}

.bg-blue h2 {
    color: var(--white);
}

.bg-orange {
    background: var(--accent-orange);
    color: var(--white);
}

.bg-orange h2 {
    color: var(--white);
}

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

/* ========== VALUE PROPOSITION CARDS ========== */
.value-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.value-card img {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.value-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* ========== SERVICES OVERVIEW ========== */
.services-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-block.quickbooks {
    background: linear-gradient(180deg, rgba(0, 127, 255, 0.05) 0%, var(--white) 100%);
}

.service-block.it {
    background: linear-gradient(180deg, rgba(255, 140, 0, 0.05) 0%, var(--white) 100%);
}

.service-block img {
    width: 100%;
    max-width: 300px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.service-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-block p {
    margin-bottom: 1.5rem;
}

/* ========== WHY CHOOSE US ========== */
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.why-choose-item {
    text-align: center;
    padding: 1.5rem;
}

.why-choose-item img {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
}

.why-choose-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

/* ========== TESTIMONIALS CAROUSEL ========== */
.testimonials-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}

.testimonial-card blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--primary-blue);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.carousel-dot.active {
    background: var(--primary-blue);
}

/* ========== PROCESS SECTION ========== */
.process-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.process-step {
    text-align: center;
    max-width: 300px;
}

.process-step img {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* ========== TEAM SECTION ========== */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}

.team-member h3 {
    color: var(--dark-grey);
    margin-bottom: 0.25rem;
}

.team-member .title {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-member p {
    font-size: 0.9rem;
    color: #666;
}

/* ========== FAQ ACCORDION ========== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 0.5rem;
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-grey);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-orange);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 1.25rem 1.25rem;
    color: #666;
    line-height: 1.7;
}

/* ========== TRUST BADGES ========== */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.trust-badge {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: scale(1.05);
}

.trust-badge span {
    display: block;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 0.5rem;
}

/* ========== CTA BANNER ========== */
.cta-banner {
    text-align: center;
    padding: 3rem 2rem;
}

.cta-banner h2 {
    margin-bottom: 1rem;
}

.cta-banner p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.cta-buttons .btn {
    width: 100%;
    max-width: 280px;
}

/* ========== CONTACT INFO ========== */
.contact-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info {
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.contact-info-item a,
.contact-info-item p {
    color: var(--dark-grey);
    font-weight: 500;
    margin: 0;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    min-height: 300px;
    background: var(--light-grey);
}

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

/* ========== NEWSLETTER ========== */
.newsletter {
    text-align: center;
    padding: 3rem 2rem;
}

.newsletter h2 {
    margin-bottom: 0.5rem;
}

.newsletter p {
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    padding: 14px 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* ========== FINAL CTA ========== */
.final-cta {
    text-align: center;
    padding: 3rem 2rem;
}

.final-cta h2 {
    margin-bottom: 0.5rem;
}

.final-cta p {
    margin-bottom: 1.5rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-grey);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

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

.footer-brand .logo {
    margin: 0 auto 1rem;
    height: 40px;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
}

.footer-links ul {
    text-align: center;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-orange);
}

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

.footer-contact p,
.footer-contact a {
    display: block;
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-contact a:hover {
    opacity: 1;
    color: var(--accent-orange);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-orange);
}

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

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.6;
    margin: 0;
}

.footer-bottom a {
    font-size: 0.8rem;
    opacity: 0.6;
    margin: 0 0.5rem;
}

.footer-bottom a:hover {
    opacity: 1;
    color: var(--accent-orange);
}

/* ========== PAGE HERO ========== */
.page-hero {
    min-height: 50vh;
    padding-top: 120px;
    padding-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.page-hero .hero-background {
    opacity: 0.1;
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== CURRICULUM TABS ========== */
.curriculum-tabs {
    margin-bottom: 2rem;
}

.tab-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-grey);
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.tab-button:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.tab-button.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.tab-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tab-content ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.tab-content li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* ========== TRAINING FORMATS ========== */
.formats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.format-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.format-card img {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.format-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.format-card ul {
    list-style: none;
    text-align: left;
}

.format-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.format-card li::before {
    content: '✓';
    color: var(--accent-orange);
    font-weight: bold;
}

/* ========== STATS SECTION ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ========== CONTACT FORM ========== */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-grey);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

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

.form-group .error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
}

.form-group.error .error-message {
    display: block;
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success.show {
    display: block;
}

.form-success svg {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: var(--primary-blue);
}

.form-success h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* ========== ABOUT PAGE ========== */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.story-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.value-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.value-item img {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
}

.value-item h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ========== PREFERS REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal, .reveal-left, .reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-orange);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ========== CONFETTI ANIMATION ========== */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    display: none;
}

.confetti-container.active {
    display: block;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ========== PULSE ANIMATION ========== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ========== HERO DECODE EFFECT ========== */
.hero-title {
    overflow: hidden;
}

.hero-title span {
    display: inline-block;
    animation: decode 0.5s ease forwards;
    opacity: 0;
}

@keyframes decode {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== MAGNETIC BUTTON (Desktop only) ========== */
@media (min-width: 1024px) {
    .btn-magnetic {
        transition: transform 0.3s ease;
    }
}

/* ========== LOADING STATES ========== */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
