/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Color Palette Variables */
:root {
    --color-lightest: #E6F0F7;
    --color-light: #99B8D1;
    --color-medium: #5A8AB8;
    --color-primary: #003675;
    --color-dark: #002554;
    --color-darkest: #001A3D;
    --color-accent: #0052A3;
    --color-white: #FFFFFF;
    --color-text: #2C3E50;
    --color-text-light: #5A6C7D;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-lightest);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-darkest) 0%, var(--color-dark) 50%, var(--color-primary) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 74, 99, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: white;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    color: var(--color-white);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    animation: fadeInUp 1.2s ease;
    color: var(--color-lightest);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 1.4s ease;
    color: var(--color-lightest);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(91, 163, 208, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 163, 208, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid var(--color-lightest);
}

.btn-secondary:hover {
    background-color: var(--color-lightest);
    color: var(--color-darkest);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 600px;
    animation: fadeInRight 1.5s ease;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(26, 74, 99, 0.4);
}

/* Accounting Animation */
.accounting-animation {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0;
    box-shadow: none;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Accounting Title */
.accounting-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    text-align: center;
}

.title-accounting {
    font-size: 5rem;
    font-weight: bold;
    color: var(--color-primary);
    text-shadow: 0 5px 20px rgba(26, 74, 99, 0.5);
    animation: flashAccounting 2s ease-in-out infinite;
    letter-spacing: 10px;
}

.title-services-home {
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-accent);
    text-shadow: 0 3px 15px rgba(91, 163, 208, 0.5);
    animation: flashServicesHome 2s ease-in-out infinite;
    letter-spacing: 4px;
}

@keyframes flashAccounting {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        color: var(--color-primary);
        text-shadow: 0 5px 20px rgba(26, 74, 99, 0.5);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
        color: var(--color-accent);
        text-shadow: 0 8px 30px rgba(91, 163, 208, 0.8);
    }
}

@keyframes flashServicesHome {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

/* Bar Chart Animation */
.chart-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 550px;
    opacity: 0.4;
    z-index: 3;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 25px;
    height: 380px;
    position: relative;
}

.bar {
    flex: 1;
    max-width: 80px;
    background: linear-gradient(to top, var(--color-primary), var(--color-accent));
    border-radius: 12px 12px 0 0;
    animation: growBar 2s ease-in-out infinite;
    box-shadow: 0 6px 20px rgba(74, 124, 158, 0.4);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
}

.bar::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--color-accent);
}

.bar-label {
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.chart-title {
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-darkest);
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bar-1 {
    height: 55%;
    animation-delay: 0s;
}

.bar-2 {
    height: 75%;
    animation-delay: 0.2s;
}

.bar-3 {
    height: 95%;
    animation-delay: 0.4s;
}

.bar-4 {
    height: 65%;
    animation-delay: 0.6s;
}

.bar-5 {
    height: 85%;
    animation-delay: 0.8s;
}

@keyframes growBar {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.85;
    }
    50% {
        transform: scaleY(1.08);
        opacity: 1;
    }
}

/* Floating Numbers */
.floating-numbers {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 8;
}

.number {
    position: absolute;
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--color-accent);
    animation: float 3s ease-in-out infinite;
    opacity: 0.7;
    text-shadow: 0 4px 15px rgba(91, 163, 208, 0.4);
}

.number-1 {
    top: 12%;
    left: 10%;
    animation-delay: 0s;
}

.number-2 {
    top: 18%;
    right: 15%;
    animation-delay: 0.5s;
}

.number-3 {
    bottom: 22%;
    left: 15%;
    animation-delay: 1s;
}

.number-4 {
    bottom: 15%;
    right: 12%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.15);
        opacity: 0.9;
    }
}

/* Calculator Icon */
.calculator-icon {
    position: absolute;
    top: 8%;
    right: 8%;
    width: 140px;
    height: 175px;
    background: linear-gradient(135deg, var(--color-darkest), var(--color-dark));
    border-radius: 15px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(26, 74, 99, 0.5);
    animation: pulse 2s ease-in-out infinite;
    z-index: 10;
}

.calc-screen {
    width: 100%;
    height: 45px;
    background: linear-gradient(to bottom, var(--color-lightest), var(--color-light));
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 12px;
}

.calc-display {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-darkest);
    animation: numberChange 3s ease-in-out infinite;
}

@keyframes numberChange {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.calc-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.calc-buttons span {
    width: 100%;
    height: 26px;
    background: var(--color-accent);
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.85rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 12px 30px rgba(26, 74, 99, 0.5);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 18px 40px rgba(26, 74, 99, 0.6);
    }
}

/* Pie Chart */
.pie-chart {
    position: absolute;
    bottom: 8%;
    left: 8%;
    width: 170px;
    height: 170px;
    animation: rotate 10s linear infinite;
    filter: drop-shadow(0 8px 20px rgba(26, 74, 99, 0.4));
    z-index: 10;
}

.pie-chart svg {
    transform: rotate(-90deg);
}

.pie-chart circle {
    fill: none;
    stroke-width: 20;
    stroke-linecap: round;
}

.pie-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.pie-percentage {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-darkest);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pie-segment-1 {
    stroke: var(--color-accent);
    stroke-dasharray: 75 251;
    animation: drawPie1 2s ease-in-out infinite;
}

.pie-segment-2 {
    stroke: var(--color-primary);
    stroke-dasharray: 100 251;
    stroke-dashoffset: -75;
    animation: drawPie2 2s ease-in-out infinite;
}

.pie-segment-3 {
    stroke: var(--color-medium);
    stroke-dasharray: 76 251;
    stroke-dashoffset: -175;
    animation: drawPie3 2s ease-in-out infinite;
}

@keyframes drawPie1 {
    0%, 100% {
        stroke-dasharray: 75 251;
    }
    50% {
        stroke-dasharray: 85 251;
    }
}

@keyframes drawPie2 {
    0%, 100% {
        stroke-dasharray: 100 251;
    }
    50% {
        stroke-dasharray: 90 251;
    }
}

@keyframes drawPie3 {
    0%, 100% {
        stroke-dasharray: 76 251;
    }
    50% {
        stroke-dasharray: 86 251;
    }
}

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

/* Trend Line */
.trend-line {
    position: absolute;
    top: 8%;
    left: 8%;
    width: 190px;
    height: 95px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(26, 74, 99, 0.3);
    z-index: 10;
}

.trend-path {
    stroke: var(--color-accent);
    stroke-width: 3;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawTrend 3s ease-in-out forwards;
}

.trend-dot {
    fill: var(--color-primary);
    animation: dotPulse 2s ease-in-out infinite;
}

.trend-dot:nth-child(2) { animation-delay: 0.2s; }
.trend-dot:nth-child(3) { animation-delay: 0.4s; }
.trend-dot:nth-child(4) { animation-delay: 0.6s; }
.trend-dot:nth-child(5) { animation-delay: 0.8s; }

@keyframes drawTrend {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes dotPulse {
    0%, 100% {
        r: 4;
        opacity: 1;
    }
    50% {
        r: 6;
        opacity: 0.7;
    }
}

/* Profit Badge */
.profit-badge {
    position: absolute;
    bottom: 8%;
    right: 8%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    padding: 15px 24px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(91, 163, 208, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: badgeBounce 2s ease-in-out infinite;
    z-index: 10;
}

.badge-icon {
    font-size: 1.8rem;
}

.badge-text {
    color: white;
    font-weight: bold;
    font-size: 1.4rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes badgeBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Navigation */
.main-navigation {
    background-color: var(--color-primary);
    padding: 0.75rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 54, 117, 0.3);
    min-height: 60px;
}

.logo {
    color: white;
    font-size: 1.8rem;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-lightest);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--color-darkest) 0%, var(--color-primary) 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.site-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    color: var(--color-lightest);
}

/* Page Header for Service Pages */
.page-header {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0;
    background: linear-gradient(135deg, var(--color-darkest) 0%, var(--color-dark) 50%, var(--color-primary) 100%);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 54, 117, 0.3);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: white;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(91, 163, 208, 0.2), rgba(74, 124, 158, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-lightest);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease;
    align-self: flex-start;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
    color: var(--color-white);
}

.page-header-content .tagline {
    font-size: 1.3rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
    color: var(--color-lightest);
}

.page-header-content .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 1.2s ease;
    color: var(--color-lightest);
}

.page-header-content .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
    margin-bottom: 2rem;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-lightest);
    font-size: 0.95rem;
    font-weight: 500;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    border-radius: 50%;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(91, 163, 208, 0.4);
}

.page-header-image {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    animation: fadeInRight 1.2s ease;
}

.page-header-image img {
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(26, 74, 99, 0.4);
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.intro {
    background: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    box-shadow: 0 2px 10px rgba(74, 124, 158, 0.1);
    text-align: center;
}

.intro-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(91, 163, 208, 0.3);
}

.intro h2 {
    color: var(--color-darkest);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.intro p {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--color-lightest), white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(74, 124, 158, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 124, 158, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 4rem 0;
}

.services h2 {
    text-align: center;
    color: var(--color-darkest);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.services-intro {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

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

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

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(74, 124, 158, 0.12);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(74, 124, 158, 0.2);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-title {
    color: var(--color-darkest);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-description {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cta-button:hover {
    background-color: var(--color-primary);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(91, 163, 208, 0.4);
}

/* Footer */
.site-footer {
    background-color: var(--color-darkest);
    color: white;
    text-align: center;
    padding: 3rem 2rem 2rem 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    text-align: left;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-section h3:hover {
    color: white;
}

.contact-info {
    margin-bottom: 0;
}

.contact-info p {
    margin: 0.75rem 0;
    line-height: 1.6;
}

.contact-info a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    text-decoration: underline;
    color: var(--color-light);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    display: block;
}

.copyright {
    opacity: 0.8;
    font-size: 0.9rem;
    color: var(--color-lightest);
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Service Details */
.service-details {
    background: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(74, 124, 158, 0.1);
}

.service-details-header {
    text-align: center;
    margin-bottom: 2rem;
}

.service-details-header h2 {
    color: var(--color-darkest);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.service-subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.service-details h2 {
    color: var(--color-darkest);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.service-list li {
    padding: 1rem 1rem 1rem 3rem;
    position: relative;
    border: 2px solid var(--color-lightest);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(232, 241, 245, 0.3), white);
    transition: all 0.3s ease;
}

.service-list li:hover {
    border-color: var(--color-accent);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(91, 163, 208, 0.2);
}

.service-list li:active {
    animation: flashBlue 0.6s ease;
}

@keyframes flashBlue {
    0% {
        background: linear-gradient(135deg, rgba(232, 241, 245, 0.3), white);
        border-color: var(--color-accent);
    }
    50% {
        background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
        border-color: var(--color-primary);
        color: white;
        transform: translateX(5px) scale(1.02);
        box-shadow: 0 6px 20px rgba(91, 163, 208, 0.5);
    }
    100% {
        background: linear-gradient(135deg, rgba(232, 241, 245, 0.3), white);
        border-color: var(--color-accent);
    }
}

.service-list li:before {
    content: "✓";
    position: absolute;
    left: 1rem;
    color: white;
    font-weight: bold;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.service-list li:last-child {
    border-bottom: 2px solid var(--color-lightest);
}

.enhanced-list li {
    font-weight: 500;
    color: var(--color-text);
}

/* CTA Section */
.cta-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(74, 124, 158, 0.1);
}

.enhanced-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    padding: 4rem 2rem;
    box-shadow: 0 8px 30px rgba(74, 124, 158, 0.3);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

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

.enhanced-cta h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.enhanced-cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-feature {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.enhanced-cta .cta-button {
    background: white;
    color: var(--color-primary);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.enhanced-cta .cta-button:hover {
    background: var(--color-lightest);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-section h2 {
    color: var(--color-darkest);
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

/* Contact Form */
.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(74, 124, 158, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid var(--color-light);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

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

.submit-button {
    background-color: var(--color-accent);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.submit-button:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(91, 163, 208, 0.4);
}

.form-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-feedback.error {
    display: block;
    background-color: #ffe6e6;
    color: #c0392b;
    border: 1px solid #e74c3c;
}

.form-feedback.success {
    display: block;
    background-color: #e6ffe6;
    color: #27ae60;
    border: 1px solid #2ecc71;
}

.form-feedback ul {
    margin: 0;
    padding-left: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--color-primary);
        padding: 1rem 0;
        gap: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.8rem;
        padding: 0.5rem;
    }

    /* Page Header */
    .page-header {
        flex-direction: column;
        min-height: auto;
        padding: 0;
    }

    .page-header-content {
        padding: 2rem 1.5rem;
        text-align: center;
        max-width: 100%;
    }

    .hero-badge {
        align-self: center;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }

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

    .page-header-content .tagline {
        font-size: 1.1rem;
    }

    .page-header-content .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .page-header-content .hero-buttons {
        justify-content: center;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-features {
        justify-content: center;
        gap: 1rem;
    }

    .feature-item {
        font-size: 0.85rem;
    }

    .feature-icon {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .page-header-image {
        margin-top: 0;
        max-width: 100%;
        min-height: 400px;
    }

    /* Animations - General */
    .accounting-animation,
    .tax-animation,
    .business-animation,
    .licence-animation,
    .contact-animation {
        min-height: 400px;
        padding: 2rem 1rem;
    }

    /* Titles */
    .accounting-title .title-accounting,
    .tax-services-title .title-tax,
    .licence-title .title-business,
    .contact-title .title-contact {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .accounting-title .title-services-home,
    .tax-services-title .title-services,
    .licence-title .title-licence,
    .contact-title .title-us {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    /* Home Page Animation */
    .chart-container {
        width: 90%;
        opacity: 0.25;
    }

    .bar-chart {
        height: 150px;
        gap: 8px;
    }

    .bar {
        max-width: 30px;
    }

    .bar-label {
        font-size: 0.7rem;
    }

    .chart-title {
        font-size: 0.85rem;
    }

    .number {
        font-size: 2rem;
    }

    .calculator-icon {
        width: 80px;
        height: 100px;
        padding: 10px;
        top: 5%;
        right: 5%;
    }

    .calc-screen {
        height: 25px;
        margin-bottom: 8px;
    }

    .calc-display {
        font-size: 0.75rem;
    }

    .calc-buttons {
        gap: 5px;
    }

    .calc-buttons span {
        height: 18px;
        font-size: 0.7rem;
    }

    .pie-chart {
        width: 90px;
        height: 90px;
        bottom: 5%;
        left: 5%;
    }

    .pie-percentage {
        font-size: 1.2rem;
    }

    .trend-line {
        width: 100px;
        height: 60px;
        top: 5%;
        left: 5%;
        padding: 5px;
    }

    .profit-badge {
        padding: 8px 14px;
        bottom: 5%;
        right: 5%;
    }

    .badge-icon {
        font-size: 1.2rem;
    }

    .badge-text {
        font-size: 1rem;
    }

    /* Tax Services Animation */
    .calculator-display {
        top: 5%;
        right: 5%;
    }

    .calc-body {
        width: 120px;
        padding: 12px;
    }

    .calc-screen-display {
        height: 35px;
        margin-bottom: 10px;
    }

    .calc-number {
        font-size: 1rem;
    }

    .calc-button-grid {
        gap: 6px;
    }

    .calc-button-grid span {
        height: 22px;
        font-size: 0.8rem;
    }

    .refund-badge {
        padding: 12px 16px;
        top: 5%;
        left: 5%;
    }

    .refund-icon {
        font-size: 1.8rem;
    }

    .refund-text {
        font-size: 1.3rem;
    }

    .refund-label {
        font-size: 0.75rem;
    }

    .calendar-icon {
        width: 110px;
        height: 130px;
        bottom: 5%;
        left: 5%;
    }

    .calendar-march {
        width: 110px;
        height: 130px;
        bottom: 5%;
        left: auto;
        right: 5%;
    }

    .calendar-header {
        font-size: 0.9rem;
        padding: 8px;
    }

    .calendar-date {
        font-size: 3rem;
        margin: 12px 0 8px 0;
    }

    .calendar-label {
        font-size: 0.85rem;
    }

    .tax-icon {
        font-size: 2.5rem;
    }

    /* Business Setup Animation */
    .building-icon {
        width: 140px;
        height: 180px;
    }

    .building-windows {
        gap: 12px;
        top: 25px;
        left: 20px;
        right: 20px;
    }

    .building-windows span {
        height: 28px;
    }

    .building-label {
        font-size: 0.85rem;
        padding: 6px 16px;
        bottom: -25px;
    }

    .steps-badge {
        padding: 12px;
        gap: 8px;
        top: 5%;
        right: 5%;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }

    .step-text {
        font-size: 0.85rem;
    }

    .entity-badge {
        padding: 12px 16px;
        top: 5%;
        left: 5%;
    }

    .entity-type {
        font-size: 1.8rem;
    }

    .entity-label {
        font-size: 0.75rem;
    }

    .timeline-badge {
        padding: 12px 16px;
        bottom: 5%;
        left: 5%;
    }

    .timeline-icon {
        font-size: 1.8rem;
    }

    .timeline-text {
        font-size: 1.2rem;
    }

    .timeline-label {
        font-size: 0.75rem;
    }

    .growth-arrow {
        width: 100px;
        height: 100px;
        bottom: 5%;
        right: 5%;
    }

    .growth-label {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .biz-icon {
        font-size: 2.5rem;
    }

    /* Business Licence Animation */
    .certificate {
        width: 240px;
        height: 180px;
    }

    .cert-header {
        font-size: 0.8rem;
        padding: 6px;
        margin-bottom: 10px;
    }

    .cert-seal {
        width: 45px;
        height: 45px;
    }

    .cert-seal::after {
        font-size: 1.3rem;
    }

    .licence-badge {
        padding: 12px 16px;
        top: 5%;
        left: 5%;
    }

    .licence-icon {
        font-size: 1.8rem;
    }

    .licence-text {
        font-size: 1.3rem;
    }

    .licence-label {
        font-size: 0.75rem;
    }

    .process-badge {
        padding: 12px 16px;
        top: 5%;
        right: 5%;
    }

    .process-icon {
        font-size: 1.8rem;
    }

    .process-text {
        font-size: 1.2rem;
    }

    .process-label {
        font-size: 0.75rem;
    }

    .stamp-circle {
        width: 100px;
        height: 100px;
        border-width: 4px;
    }

    .stamp-circle span {
        font-size: 0.85rem;
    }

    .check {
        font-size: 2.5rem;
    }

    .doc-icon {
        font-size: 2.5rem;
    }

    /* Contact Animation */
    .envelope {
        width: 180px;
        height: 130px;
    }

    .bubble {
        width: 60px;
        height: 60px;
    }

    .bubble-text {
        font-size: 1.8rem;
    }

    .phone-badge {
        padding: 12px 16px;
        top: 5%;
        left: 5%;
    }

    .phone-icon-badge {
        font-size: 1.8rem;
    }

    .phone-number {
        font-size: 0.95rem;
    }

    .phone-label {
        font-size: 0.75rem;
    }

    .email-badge {
        padding: 12px 16px;
        top: 5%;
        right: 5%;
    }

    .email-icon-badge {
        font-size: 1.8rem;
    }

    .email-text {
        font-size: 1.2rem;
    }

    .email-label {
        font-size: 0.75rem;
    }

    .response-badge {
        padding: 12px 16px;
        bottom: 5%;
        right: 5%;
    }

    .response-icon {
        font-size: 1.8rem;
    }

    .response-text {
        font-size: 1.2rem;
    }

    .response-label {
        font-size: 0.75rem;
    }

    .contact-icon {
        font-size: 2.5rem;
    }

    /* Main Content */
    main {
        padding: 1.5rem 1rem;
    }

    .intro,
    .service-details,
    .cta-section,
    .contact-form-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .intro-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .intro h2,
    .service-details h2,
    .cta-section h2 {
        font-size: 1.8rem;
    }

    .intro p {
        font-size: 1rem;
    }

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

    .stat-item {
        padding: 1rem;
    }

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

    .stat-label {
        font-size: 0.85rem;
    }

    /* Services Section */
    .services {
        padding: 2rem 0;
    }

    .services h2 {
        font-size: 1.8rem;
    }

    .services-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

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

    .service-image {
        width: 100%;
        height: 200px;
    }

    .service-content {
        text-align: center;
        padding: 1.5rem;
    }

    /* Footer */
    .site-footer {
        padding: 2rem 1rem 1.5rem 1rem;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .map-container iframe {
        height: 180px;
    }

    .copyright {
        font-size: 0.85rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    /* Form */
    .contact-form-section {
        max-width: 100%;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.95rem;
    }

    .submit-button {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
}
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-darkest);
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

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

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

    .tagline {
        font-size: 1rem;
    }

    main {
        padding: 1rem;
    }

    .services h2 {
        font-size: 2rem;
    }
}


/* Page-Specific Animations */

/* Business Setup Animation */
.business-animation {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0;
    box-shadow: none;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.building-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 260px;
    animation: buildingGrow 3s ease-in-out infinite;
}

.building-base {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-dark));
    border-radius: 15px 15px 0 0;
    box-shadow: 0 15px 40px rgba(26, 74, 99, 0.5);
    position: relative;
}

.building-base::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 20px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -5px 15px rgba(91, 163, 208, 0.5);
}

.building-base::after {
    content: '🏆';
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    animation: trophyBounce 2s ease-in-out infinite;
}

@keyframes trophyBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

.building-windows {
    position: absolute;
    top: 35px;
    left: 30px;
    right: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.building-windows span {
    width: 100%;
    height: 40px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-light));
    border-radius: 6px;
    animation: windowLight 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(91, 163, 208, 0.6);
    position: relative;
}

.building-windows span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.building-windows span:nth-child(1) { animation-delay: 0s; }
.building-windows span:nth-child(2) { animation-delay: 0.2s; }
.building-windows span:nth-child(3) { animation-delay: 0.4s; }
.building-windows span:nth-child(4) { animation-delay: 0.6s; }
.building-windows span:nth-child(5) { animation-delay: 0.8s; }
.building-windows span:nth-child(6) { animation-delay: 1s; }

.building-label {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-darkest), var(--color-dark));
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(26, 74, 99, 0.5);
    animation: labelGlow 2s ease-in-out infinite;
}

@keyframes labelGlow {
    0%, 100% { box-shadow: 0 6px 20px rgba(26, 74, 99, 0.5); }
    50% { box-shadow: 0 8px 30px rgba(91, 163, 208, 0.6); }
}

@keyframes buildingGrow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.06); }
}

@keyframes windowLight {
    0%, 100% { opacity: 0.7; box-shadow: 0 0 20px rgba(91, 163, 208, 0.6); }
    50% { opacity: 1; box-shadow: 0 0 30px rgba(91, 163, 208, 0.9); }
}

.growth-arrow {
    position: absolute;
    bottom: 10%;
    right: 6%;
    width: 150px;
    height: 150px;
}

.arrow-path {
    stroke: var(--color-accent);
    stroke-width: 5;
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: drawArrow 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(91, 163, 208, 0.5));
}

.arrow-head {
    fill: var(--color-accent);
    animation: arrowPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(91, 163, 208, 0.5));
}

.growth-label {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(91, 163, 208, 0.5);
    animation: labelPulse 2s ease-in-out infinite;
}

@keyframes labelPulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

@keyframes drawArrow {
    0% { stroke-dashoffset: 150; }
    50%, 100% { stroke-dashoffset: 0; }
}

@keyframes arrowPulse {
    0%, 50% { opacity: 0; transform: scale(0.8); }
    51%, 100% { opacity: 1; transform: scale(1); }
}

.floating-icons .biz-icon {
    position: absolute;
    font-size: 3.5rem;
    animation: floatIcon 3s ease-in-out infinite;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.biz-icon:nth-child(1) {
    top: 6%;
    left: 6%;
    animation-delay: 0s;
}

.biz-icon:nth-child(2) {
    top: 12%;
    right: 10%;
    animation-delay: 1s;
}

.biz-icon:nth-child(3) {
    bottom: 18%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.75;
    }
    50% {
        transform: translateY(-22px) scale(1.2) rotate(10deg);
        opacity: 1;
    }
}

/* Steps Badge */
.steps-badge {
    position: absolute;
    top: 6%;
    right: 4%;
    background: white;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(26, 74, 99, 0.5);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 14px;
    animation: stepFade 6s ease-in-out infinite;
}

.step-item:nth-child(1) { animation-delay: 0s; }
.step-item:nth-child(2) { animation-delay: 2s; }
.step-item:nth-child(3) { animation-delay: 4s; }

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(74, 124, 158, 0.5);
}

.step-text {
    font-weight: bold;
    color: var(--color-darkest);
    font-size: 1.05rem;
}

@keyframes stepFade {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    16.6%, 33.3% { opacity: 1; transform: scale(1.05); }
}

/* Entity Badge */
.entity-badge {
    position: absolute;
    top: 6%;
    left: 4%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    padding: 28px 36px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 54, 117, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: entityPulse 3s ease-in-out infinite;
}

.entity-type {
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    line-height: 1;
    letter-spacing: 3px;
}

.entity-label {
    font-size: 1.1rem;
    color: white;
    opacity: 0.95;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes entityPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 15px 40px rgba(0, 54, 117, 0.6); }
    50% { transform: scale(1.06); box-shadow: 0 20px 50px rgba(0, 54, 117, 0.7); }
}

/* Timeline Badge */
.timeline-badge {
    position: absolute;
    bottom: 6%;
    left: 4%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    padding: 20px 25px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(39, 174, 96, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: timelineBounce 3s ease-in-out infinite;
}

.timeline-icon {
    font-size: 2.8rem;
    animation: iconSpin 4s linear infinite;
}

@keyframes iconSpin {
    0%, 90% { transform: rotate(0deg); }
    95% { transform: rotate(20deg); }
    100% { transform: rotate(0deg); }
}

.timeline-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.timeline-label {
    font-size: 0.9rem;
    color: white;
    opacity: 0.95;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes timelineBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

/* Tax Services Animation */
.tax-animation {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0;
    box-shadow: none;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tax Services Title */
.tax-services-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    text-align: center;
}

.title-tax {
    font-size: 4.5rem;
    font-weight: bold;
    color: var(--color-primary);
    text-shadow: 0 5px 20px rgba(0, 54, 117, 0.5);
    animation: flashTax 2s ease-in-out infinite;
    letter-spacing: 8px;
}

.title-services {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-accent);
    text-shadow: 0 3px 15px rgba(0, 82, 163, 0.5);
    animation: flashServices 2s ease-in-out infinite;
    letter-spacing: 3px;
}

@keyframes flashTax {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        color: var(--color-primary);
        text-shadow: 0 5px 20px rgba(26, 74, 99, 0.5);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
        color: var(--color-accent);
        text-shadow: 0 8px 30px rgba(91, 163, 208, 0.8);
    }
}

@keyframes flashServices {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

.document-stack {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 340px;
    opacity: 0.35;
    z-index: 3;
}

.document {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border: 4px solid var(--color-primary);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(26, 74, 99, 0.4);
    padding: 20px;
}

.doc-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 18px;
    box-shadow: 0 4px 10px rgba(26, 74, 99, 0.3);
}

.doc-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.doc-lines span {
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--color-light), var(--color-lightest));
    border-radius: 5px;
    animation: lineShimmer 2s ease-in-out infinite;
}

.doc-lines span:nth-child(1) { animation-delay: 0s; }
.doc-lines span:nth-child(2) { animation-delay: 0.3s; width: 85%; }
.doc-lines span:nth-child(3) { animation-delay: 0.6s; width: 70%; }

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

.doc-1 {
    transform: rotate(-6deg) translateX(-15px);
    animation: docFloat1 3s ease-in-out infinite;
    z-index: 1;
}

.doc-2 {
    transform: rotate(0deg);
    animation: docFloat2 3s ease-in-out infinite;
    animation-delay: 0.3s;
    z-index: 3;
}

.doc-3 {
    transform: rotate(6deg) translateX(15px);
    animation: docFloat3 3s ease-in-out infinite;
    animation-delay: 0.6s;
    z-index: 2;
}

@keyframes docFloat1 {
    0%, 100% { transform: rotate(-6deg) translateX(-15px) translateY(0); }
    50% { transform: rotate(-6deg) translateX(-15px) translateY(-15px); }
}

@keyframes docFloat2 {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(0deg) translateY(-20px); }
}

@keyframes docFloat3 {
    0%, 100% { transform: rotate(6deg) translateX(15px) translateY(0); }
    50% { transform: rotate(6deg) translateX(15px) translateY(-15px); }
}

.tax-symbols {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.tax-icon {
    position: absolute;
    font-size: 4rem;
    animation: taxFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.tax-icon:nth-child(1) {
    top: 8%;
    right: 8%;
    animation-delay: 0s;
}

.tax-icon:nth-child(2) {
    bottom: 10%;
    left: 8%;
    animation-delay: 1s;
}

.tax-icon:nth-child(3) {
    top: 45%;
    right: 5%;
    animation-delay: 2s;
}

@keyframes taxFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.85;
    }
    50% {
        transform: translateY(-25px) rotate(12deg) scale(1.12);
        opacity: 1;
    }
}

.percentage-circle {
    position: absolute;
    bottom: 8%;
    right: 10%;
    width: 180px;
    height: 180px;
    z-index: 5;
}

.progress-ring {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 10;
    stroke-dasharray: 251;
    stroke-dashoffset: 251;
    animation: fillRing 3s ease-in-out infinite;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    filter: drop-shadow(0 4px 10px rgba(91, 163, 208, 0.4));
}

.percent-text {
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--color-primary);
    animation: pulse 2s ease-in-out infinite;
}

.tax-rate {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-darkest);
    animation: fadeIn 2s ease-in-out;
}

@keyframes fillRing {
    0% { stroke-dashoffset: 251; }
    50%, 100% { stroke-dashoffset: 0; }
}

/* Refund Badge */
.refund-badge {
    position: absolute;
    top: 8%;
    left: 8%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    padding: 18px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.5);
    animation: badgeFloat 3s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.refund-icon {
    font-size: 2.5rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.refund-text {
    color: white;
    font-weight: bold;
    font-size: 1.8rem;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.refund-label {
    color: white;
    font-size: 0.85rem;
    opacity: 0.95;
    font-weight: 600;
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.05);
    }
}

/* Calendar Icon */
.calendar-icon {
    position: absolute;
    bottom: 10%;
    right: 8%;
    width: 160px;
    height: 180px;
    background: white;
    border: 5px solid #e74c3c;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(231, 76, 60, 0.6);
    animation: calendarPulse 2s ease-in-out infinite;
    overflow: hidden;
    z-index: 10;
}

.calendar-header {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.calendar-date {
    font-size: 5rem;
    font-weight: bold;
    color: #e74c3c;
    text-align: center;
    margin: 20px 0 10px 0;
    line-height: 1;
    text-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    animation: dateGlow 2s ease-in-out infinite;
}

@keyframes dateGlow {
    0%, 100% {
        color: #e74c3c;
        text-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    }
    50% {
        color: #c0392b;
        text-shadow: 0 6px 20px rgba(231, 76, 60, 0.7);
        transform: scale(1.05);
    }
}

.calendar-label {
    text-align: center;
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(231, 76, 60, 0.2);
}

@keyframes calendarPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 15px 45px rgba(231, 76, 60, 0.6);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 20px 55px rgba(231, 76, 60, 0.8);
    }
}

/* March 16 Calendar */
.calendar-march {
    bottom: 10%;
    top: auto;
    left: 8%;
    right: auto;
    border-color: var(--color-primary);
    box-shadow: 0 15px 45px rgba(0, 54, 117, 0.6);
    animation: calendarMarchPulse 2s ease-in-out infinite;
}

.calendar-march .calendar-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.calendar-march .calendar-date {
    color: var(--color-primary);
    text-shadow: 0 4px 12px rgba(0, 54, 117, 0.4);
    animation: dateMarchGlow 2s ease-in-out infinite;
}

.calendar-march .calendar-label {
    color: var(--color-primary);
    text-shadow: 0 2px 4px rgba(0, 54, 117, 0.2);
}

@keyframes calendarMarchPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 15px 45px rgba(0, 54, 117, 0.6);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 20px 55px rgba(0, 54, 117, 0.8);
    }
}

@keyframes dateMarchGlow {
    0%, 100% {
        color: var(--color-primary);
        text-shadow: 0 4px 12px rgba(0, 54, 117, 0.4);
    }
    50% {
        color: var(--color-accent);
        text-shadow: 0 6px 20px rgba(0, 82, 163, 0.7);
        transform: scale(1.05);
    }
}

/* Calculator Display */
.calculator-display {
    position: absolute;
    top: 8%;
    right: 8%;
    z-index: 10;
    animation: calcFlash 2s ease-in-out infinite;
}

.calc-body {
    width: 160px;
    background: linear-gradient(135deg, var(--color-darkest), var(--color-dark));
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 54, 117, 0.5);
}

.calc-screen-display {
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-lightest), var(--color-light));
    border-radius: 10px;
    margin-bottom: 16px;
    box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 12px;
}

.calc-number {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--color-darkest);
    animation: numberFlash 2s ease-in-out infinite;
}

@keyframes numberFlash {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.calc-button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.calc-button-grid span {
    width: 100%;
    height: 32px;
    background: var(--color-accent);
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s;
}

@keyframes calcFlash {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 12px 35px rgba(26, 74, 99, 0.6);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 18px 45px rgba(91, 163, 208, 0.7);
    }
}

/* Business Licence Animation */
.licence-animation {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0;
    box-shadow: none;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Licence Title */
.licence-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    text-align: center;
}

.title-business {
    font-size: 5rem;
    font-weight: bold;
    color: var(--color-primary);
    text-shadow: 0 5px 20px rgba(26, 74, 99, 0.5);
    animation: flashBusiness 2s ease-in-out infinite;
    letter-spacing: 10px;
}

.title-licence {
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-accent);
    text-shadow: 0 3px 15px rgba(91, 163, 208, 0.5);
    animation: flashLicence 2s ease-in-out infinite;
    letter-spacing: 4px;
}

@keyframes flashBusiness {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        color: var(--color-primary);
        text-shadow: 0 5px 20px rgba(26, 74, 99, 0.5);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
        color: var(--color-accent);
        text-shadow: 0 8px 30px rgba(91, 163, 208, 0.8);
    }
}

@keyframes flashLicence {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

.certificate {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 250px;
    animation: certFloat 3s ease-in-out infinite;
    opacity: 0.3;
    z-index: 1;
}

.cert-border {
    width: 100%;
    height: 100%;
    background: white;
    border: 5px solid var(--color-primary);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(26, 74, 99, 0.3);
}

.cert-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 15px;
    box-shadow: 0 3px 8px rgba(26, 74, 99, 0.3);
}

.cert-seal {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    animation: sealPulse 2s ease-in-out infinite;
}

.cert-seal::after {
    content: '★';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    color: white;
}

.cert-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.cert-lines span {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, var(--color-light), var(--color-lightest));
    border-radius: 4px;
    animation: lineGrow 2s ease-in-out infinite;
}

.cert-lines span:nth-child(1) { animation-delay: 0s; }
.cert-lines span:nth-child(2) { animation-delay: 0.3s; width: 85%; }
.cert-lines span:nth-child(3) { animation-delay: 0.6s; width: 70%; }

@keyframes certFloat {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(2deg); }
}

@keyframes sealPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

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

.checkmarks {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.check {
    position: absolute;
    font-size: 4rem;
    color: #27ae60;
    font-weight: bold;
    animation: checkPop 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(39, 174, 96, 0.4));
}

.check-1 {
    top: 8%;
    left: 8%;
    animation-delay: 0s;
}

.check-2 {
    top: 12%;
    right: 10%;
    animation-delay: 0.5s;
}

.check-3 {
    bottom: 12%;
    left: 10%;
    animation-delay: 1s;
}

@keyframes checkPop {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2) rotate(15deg);
        opacity: 1;
    }
}

.stamp-icon {
    position: absolute;
    bottom: 8%;
    right: 8%;
    z-index: 5;
}

.stamp-circle {
    width: 140px;
    height: 140px;
    border: 5px solid #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-15deg);
    animation: stampRotate 3s ease-in-out infinite;
    background: rgba(231, 76, 60, 0.1);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.stamp-circle span {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e74c3c;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(231, 76, 60, 0.2);
}

@keyframes stampRotate {
    0%, 100% { transform: rotate(-15deg) scale(1); }
    50% { transform: rotate(-10deg) scale(1.08); }
}

/* Licence Badge */
.licence-badge {
    position: absolute;
    top: 8%;
    left: 8%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    padding: 22px 28px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.5);
    animation: licenceBadgeFloat 3s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.licence-icon {
    font-size: 3rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.licence-text {
    color: white;
    font-weight: bold;
    font-size: 2rem;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.licence-label {
    color: white;
    font-size: 0.9rem;
    opacity: 0.95;
    font-weight: 600;
}

@keyframes licenceBadgeFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.05);
    }
}

/* Process Badge */
.process-badge {
    position: absolute;
    top: 8%;
    right: 8%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    padding: 22px 28px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(74, 124, 158, 0.5);
    animation: processBadgeFloat 3s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.process-icon {
    font-size: 3rem;
    animation: iconSpin 2s ease-in-out infinite;
}

@keyframes iconSpin {
    0%, 90% { transform: rotate(0deg); }
    95% { transform: rotate(20deg); }
    100% { transform: rotate(0deg); }
}

.process-text {
    color: white;
    font-weight: bold;
    font-size: 1.8rem;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.process-label {
    color: white;
    font-size: 0.9rem;
    opacity: 0.95;
    font-weight: 600;
}

@keyframes processBadgeFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.05);
    }
}

/* Floating Documents */
.floating-docs {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.doc-icon {
    position: absolute;
    font-size: 4rem;
    animation: docFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.doc-icon:nth-child(1) {
    bottom: 10%;
    left: 8%;
    animation-delay: 0s;
}

.doc-icon:nth-child(2) {
    top: 45%;
    right: 5%;
    animation-delay: 1s;
}

.doc-icon:nth-child(3) {
    bottom: 8%;
    left: 45%;
    animation-delay: 2s;
}

@keyframes docFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.85;
    }
    50% {
        transform: translateY(-25px) rotate(12deg) scale(1.12);
        opacity: 1;
    }
}

@keyframes stampRotate {
    0%, 100% { transform: rotate(-15deg) scale(1); }
    50% { transform: rotate(-10deg) scale(1.1); }
}

/* Contact Page Animation */
.contact-animation {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0;
    box-shadow: none;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Title */
.contact-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    text-align: center;
}

.title-contact {
    font-size: 5rem;
    font-weight: bold;
    color: var(--color-primary);
    text-shadow: 0 5px 20px rgba(26, 74, 99, 0.5);
    animation: flashContact 2s ease-in-out infinite;
    letter-spacing: 10px;
}

.title-us {
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-accent);
    text-shadow: 0 3px 15px rgba(91, 163, 208, 0.5);
    animation: flashUs 2s ease-in-out infinite;
    letter-spacing: 4px;
}

@keyframes flashContact {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        color: var(--color-primary);
        text-shadow: 0 5px 20px rgba(26, 74, 99, 0.5);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
        color: var(--color-accent);
        text-shadow: 0 8px 30px rgba(91, 163, 208, 0.8);
    }
}

@keyframes flashUs {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

.envelope {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 200px;
    animation: envelopeFloat 3s ease-in-out infinite;
    opacity: 0.3;
    z-index: 1;
}

.envelope-body {
    width: 100%;
    height: 100%;
    background: white;
    border: 5px solid var(--color-primary);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(26, 74, 99, 0.3);
    position: relative;
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    clip-path: polygon(0 0, 50% 60%, 100% 0);
    animation: flapOpen 3s ease-in-out infinite;
    transform-origin: top;
    z-index: 2;
}

.envelope-letter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 60%;
    background: var(--color-lightest);
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    animation: letterSlide 3s ease-in-out infinite;
}

.envelope-letter::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 15px;
    right: 15px;
    height: 3px;
    background: var(--color-light);
    border-radius: 2px;
}

.envelope-letter::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 15px;
    right: 15px;
    height: 3px;
    background: var(--color-light);
    border-radius: 2px;
}

@keyframes envelopeFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-15px); }
}

@keyframes flapOpen {
    0%, 40% { transform: rotateX(0deg); }
    60%, 100% { transform: rotateX(180deg); }
}

@keyframes letterSlide {
    0%, 40% { transform: translate(-50%, -50%) translateY(0); }
    60%, 100% { transform: translate(-50%, -50%) translateY(-30px); }
}

.message-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.bubble {
    position: absolute;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--color-light), var(--color-lightest));
    border-radius: 50%;
    animation: bubbleFloat 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(26, 74, 99, 0.3);
}

.bubble-text {
    font-size: 2.5rem;
    animation: iconBounce 2s ease-in-out infinite;
}

.bubble-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    top: 15%;
    right: 10%;
    animation-delay: 0.5s;
}

.bubble-3 {
    bottom: 12%;
    left: 12%;
    animation-delay: 1s;
}

@keyframes bubbleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 1;
    }
}

/* Phone Badge */
.phone-badge {
    position: absolute;
    top: 8%;
    left: 8%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    padding: 22px 28px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(74, 124, 158, 0.5);
    animation: phoneBadgeFloat 3s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.phone-icon-badge {
    font-size: 3rem;
    animation: phoneRing 2s ease-in-out infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
}

.phone-number {
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.phone-label {
    color: white;
    font-size: 0.9rem;
    opacity: 0.95;
    font-weight: 600;
}

@keyframes phoneBadgeFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.05);
    }
}

/* Email Badge */
.email-badge {
    position: absolute;
    top: 8%;
    right: 8%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    padding: 22px 28px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.5);
    animation: emailBadgeFloat 3s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.email-icon-badge {
    font-size: 3rem;
    animation: emailBounce 2s ease-in-out infinite;
}

@keyframes emailBounce {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.1) translateY(-5px); }
}

.email-text {
    color: white;
    font-weight: bold;
    font-size: 1.8rem;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.email-label {
    color: white;
    font-size: 0.9rem;
    opacity: 0.95;
    font-weight: 600;
}

@keyframes emailBadgeFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.05);
    }
}

/* Response Badge */
.response-badge {
    position: absolute;
    bottom: 8%;
    right: 8%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    padding: 22px 28px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.5);
    animation: responseBadgeFloat 3s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.response-icon {
    font-size: 3rem;
    animation: iconSpin 2s ease-in-out infinite;
}

@keyframes iconSpin {
    0%, 90% { transform: rotate(0deg); }
    95% { transform: rotate(20deg); }
    100% { transform: rotate(0deg); }
}

.response-text {
    color: white;
    font-weight: bold;
    font-size: 1.8rem;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.response-label {
    color: white;
    font-size: 0.9rem;
    opacity: 0.95;
    font-weight: 600;
}

@keyframes responseBadgeFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.05);
    }
}

/* Floating Contact Icons */
.floating-contact-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.contact-icon {
    position: absolute;
    font-size: 4rem;
    animation: contactIconFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.contact-icon:nth-child(1) {
    bottom: 10%;
    left: 45%;
    animation-delay: 0s;
}

.contact-icon:nth-child(2) {
    top: 45%;
    right: 5%;
    animation-delay: 1s;
}

.contact-icon:nth-child(3) {
    top: 45%;
    left: 5%;
    animation-delay: 2s;
}

@keyframes contactIconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.85;
    }
    50% {
        transform: translateY(-25px) rotate(12deg) scale(1.12);
        opacity: 1;
    }
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
    0%, 100% { stroke-width: 3; }
    50% { stroke-width: 5; }
}
