/* Component styles for Tech Assistor website */

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

#header.sticky {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

#header.hide {
    transform: translateY(-100%);
}

.logo h1 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin: 0;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    padding: 10rem 0 5rem;
    background-color: var(--light-gray);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(249, 115, 22, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    max-width: 100%;
    text-align: left;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2);
}

/* About Section */
.about {
    background-color: #fff;
}

.about-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-stats {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2rem;
    text-align: center;
}

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

/* Services Section */
.services {
    background-color: var(--light-gray);
}

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

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
                box-shadow 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
                border-bottom 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(249, 115, 22, 0.1), transparent);
    transition: height 0.5s ease;
    z-index: -1;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), color 0.5s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary-color);
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: #fff;
    padding: 5rem 0;
}

.approach-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.approach-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.approach-item {
    margin-bottom: 2rem;
}

.approach-item h3 {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.approach-item h3 i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.125rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-gray);
    padding: 5rem 0;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.07) 0%, transparent 70%);
    z-index: 0;
}

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    z-index: 1;
    position: relative;
}

.testimonial-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(30px);
    opacity: 0;
    position: relative;
}

.testimonial-card.animate-pop.is-visible,
.testimonial-card.testimonial-scroll-visible {
    transform: translateY(0);
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.15);
}

.testimonial-content {
    padding: 2rem;
    position: relative;
}

.testimonial-content:before {
    content: '\201C';
    font-family: serif;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 5rem;
    color: rgba(249, 115, 22, 0.1);
    line-height: 1;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    transition-delay: 0.3s;
}

.testimonial-card.is-visible .testimonial-content:before,
.testimonial-card.testimonial-scroll-visible .testimonial-content:before {
    transform: scale(1);
    opacity: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: rgba(249, 115, 22, 0.05);
    position: relative;
    overflow: hidden;
}

.testimonial-author::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: left 1s ease;
}

.testimonial-card:hover .testimonial-author::after {
    left: 200%;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.25rem;
    border: 3px solid var(--primary-color);
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    transition-delay: 0.5s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card.is-visible .testimonial-author img,
.testimonial-card.testimonial-scroll-visible .testimonial-author img {
    transform: scale(1);
    opacity: 1;
}

.testimonial-card:hover .testimonial-author img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.2);
}

.author-info h4 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    color: var(--text-color);
    transform: translateX(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transition-delay: 0.6s;
}

.author-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    transform: translateX(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transition-delay: 0.7s;
}

.testimonial-card.is-visible .author-info h4,
.testimonial-card.is-visible .author-info p,
.testimonial-card.testimonial-scroll-visible .author-info h4,
.testimonial-card.testimonial-scroll-visible .author-info p {
    transform: translateX(0);
    opacity: 1;
}

.rating {
    margin-top: 1.5rem;
    color: #ffc107;
    font-size: 1.1rem;
    display: flex;
    gap: 0.25rem;
}

.rating i {
    opacity: 0;
    transform: scale(0);
    animation: star-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.rating i:nth-child(1) { animation-delay: 0.1s; }
.rating i:nth-child(2) { animation-delay: 0.2s; }
.rating i:nth-child(3) { animation-delay: 0.3s; }
.rating i:nth-child(4) { animation-delay: 0.4s; }
.rating i:nth-child(5) { animation-delay: 0.5s; }

@keyframes star-pop {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-15deg);
    }
    70% {
        opacity: 1;
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    position: relative;
    z-index: 5;
}

.control-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    font-weight: 600;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 100px;
}

.control-btn i {
    font-size: 0.95rem;
    margin-right: 0.25rem;
}

/* Button ripple effect */
.button-ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    transform: scale(0);
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.control-btn:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.control-btn:hover::before {
    left: 100%;
}

.control-btn:active {
    transform: translateY(1px) scale(0.95);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.control-btn#runCode {
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-bottom: 3px solid #c2410c;
}

.control-btn#runCode:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
}

.control-btn#resetCode {
    background: linear-gradient(135deg, #475569, #334155);
    border-bottom: 3px solid #1e293b;
}

.control-btn#resetCode:hover {
    background: linear-gradient(135deg, #334155, #1e293b);
}

/* Run button loading animation */
.control-btn.running {
    position: relative;
    pointer-events: none;
}

.control-btn.running::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: loading-shine 1.5s infinite;
}

@keyframes loading-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

/* Testimonial entrance animations */
.testimonial-card.testimonial-entrance {
    animation: card-entrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes card-entrance {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Testimonial exit animations */
.testimonial-card.testimonial-exit-left {
    animation: card-exit-left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.testimonial-card.testimonial-exit-right {
    animation: card-exit-right 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes card-exit-left {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50px) scale(0.9);
    }
}

@keyframes card-exit-right {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }
}

/* Contact Section - Updated */
.contact {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.contact-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: start;
}

.contact-info {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to bottom right, #0f172a, #1e293b);
    border-radius: 1rem;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 30%);
    animation: pulse 15s infinite;
    z-index: 0;
}

.contact-details {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.5rem;
    color: #f97316;
    margin-right: 1.25rem;
    margin-top: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.footer-social {
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid #c2410c;
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
    color: white;
}

.linkedin-link i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info, .code-game {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-info, .code-game {
        padding: 1.5rem;
    }
    
    .linkedin-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .linkedin-link i {
        font-size: 1rem;
    }
}

/* Footer with enhanced animations */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 4rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    z-index: 2;
}

.footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-about:hover h3::after,
.footer-links:hover h3::after,
.footer-services:hover h3::after,
.footer-newsletter:hover h3::after {
    width: 100%;
}

.footer p {
    color: #d1d5db;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1rem;
}

.footer-links li::before,
.footer-services li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.footer-links a {
    color: #d1d5db;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Footer LinkedIn link */
.footer-social {
    margin-top: 1.5rem;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
    color: white;
}

.linkedin-link i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* Enhanced Animation classes for scroll animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-rotate {
    opacity: 0;
    transform: rotate(-3deg) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-bounce {
    opacity: 0;
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-text {
    overflow: hidden;
    display: block;
}

.animate-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.animate-delay-100 {
    transition-delay: 0.05s;
}

.animate-delay-200 {
    transition-delay: 0.1s;
}

.animate-delay-300 {
    transition-delay: 0.15s;
}

.animate-delay-400 {
    transition-delay: 0.2s;
}

.animate-delay-500 {
    transition-delay: 0.25s;
}

.animate-delay-600 {
    transition-delay: 0.3s;
}

.animate-delay-700 {
    transition-delay: 0.35s;
}

.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotate(0);
}

.is-visible.animate-bounce {
    animation-name: bounce;
}

.animate-text.is-visible span {
    opacity: 1;
    transform: translateY(0);
}

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

/* Mobile responsive styles */
@media (max-width: 992px) {
    .about-content,
    .contact-content,
    .approach-content,
    .hero .container {
        grid-template-columns: 1fr;
    }

    .about-image,
    .approach-image {
        margin-bottom: 2rem;
    }

    .contact-info {
        padding-right: 0;
    }

    .hero-content {
        text-align: center;
        order: 1;
    }

    .hero-image {
        order: 0;
        margin-bottom: 2rem;
    }

    .hero-cta {
        justify-content: center;
    }
}

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

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }

    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav li {
        margin: 0.75rem 0;
    }

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

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

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.875rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Unique Animation Classes */
@keyframes slideInBlur {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes revealMask {
  0% {
    clip-path: inset(0 100% 0 0);
    transform: translateX(-10px);
  }
  100% {
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
  }
}

@keyframes expandWidth {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes popScale {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  70% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideInWithGlow {
  0% {
    opacity: 0;
    transform: translateY(40px);
    filter: brightness(1.5) drop-shadow(0 0 0 transparent);
  }
  50% {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(249, 115, 22, 0.5));
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: brightness(1) drop-shadow(0 0 0 transparent);
  }
}

@keyframes bounceInRotate {
  0% {
    opacity: 0;
    transform: translateY(80px) rotate(-10deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-15px) rotate(5deg);
  }
  80% {
    transform: translateY(5px) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes clipPathReveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
    box-shadow: 0 0 0 rgba(249, 115, 22, 0);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.2);
  }
  100% {
    background-position: 0% 50%;
    box-shadow: 0 0 0 rgba(249, 115, 22, 0);
  }
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blinkCursor {
  from, to { border-right-color: transparent; }
  50% { border-right-color: var(--primary-color); }
}

.animate-slide-blur {
  opacity: 0;
  animation: slideInBlur 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-reveal {
  opacity: 1;
  animation: revealMask 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.animate-expand {
  animation: expandWidth 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-pop {
  animation: popScale 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-glow {
  animation: slideInWithGlow 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-bounce-rotate {
  animation: bounceInRotate 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

.animate-clip-reveal {
  animation: clipPathReveal 0.8s cubic-bezier(0.83, 0, 0.17, 1) forwards;
}

.animate-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

.animate-type {
  display: inline-block;
  overflow: hidden;
  border-right: 3px solid var(--primary-color);
  white-space: nowrap;
  animation: 
    typewriter 2.5s steps(40, end) forwards,
    blinkCursor 0.75s step-end infinite;
}

.animate-delay-100 {
  animation-delay: 0.1s;
}

.animate-delay-200 {
  animation-delay: 0.2s;
}

.animate-delay-300 {
  animation-delay: 0.3s;
}

.animate-delay-400 {
  animation-delay: 0.4s;
}

.animate-delay-500 {
  animation-delay: 0.5s;
}

.animate-delay-600 {
  animation-delay: 0.6s;
}

.animate-delay-700 {
  animation-delay: 0.7s;
}

/* Service card hover effects with new animation */
.service-card {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(249, 115, 22, 0.05));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(35deg) translateY(-50%) translateX(-150%);
  top: 0;
  left: 0;
  z-index: 2;
  transition: transform 0.6s ease;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 30px rgba(249, 115, 22, 0.2);
  border-bottom: 3px solid var(--primary-color);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  transform: rotate(35deg) translateY(-50%) translateX(300%);
}

.service-icon {
  position: relative;
  z-index: 3;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(10deg);
  color: var(--secondary-color);
}

/* LinkedIn button animation */
.linkedin-link {
  position: relative;
  overflow: hidden;
}

.linkedin-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}

.linkedin-link:hover {
  transform: translateY(-5px);
  background-color: var(--secondary-color);
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.4);
}

.linkedin-link:hover::before {
  left: 100%;
}

.linkedin-link i {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.linkedin-link:hover i {
  transform: rotate(360deg) scale(1.2);
}

/* Enhanced Image Animations */
@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    filter: brightness(0.8) blur(10px);
  }
  40% {
    opacity: 1;
    filter: brightness(1.1) blur(0px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1) blur(0px);
  }
}

@keyframes revealFromCenter {
  0% {
    clip-path: circle(0% at center);
    transform: scale(0.8);
    filter: brightness(1.2);
  }
  100% {
    clip-path: circle(150% at center);
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes slideMaskReveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transform: scale(1.05);
  }
  30% {
    clip-path: polygon(0 0, 20% 0, 20% 100%, 0 100%);
  }
  60% {
    clip-path: polygon(0 0, 80% 0, 80% 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: scale(1);
  }
}

.hero-image img, .about-image img, .approach-image img {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transform-origin: center;
  will-change: transform;
}

.hero-image {
  position: relative;
  perspective: 1000px;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: 50%;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(249, 115, 22, 0.05));
  border-radius: 1rem;
  transform: rotate(-3deg);
  z-index: -1;
  animation: floatShadow 6s ease-in-out infinite alternate;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 10%;
  right: 10%;
  height: 20px;
  background: rgba(0, 0, 0, 0.1);
  filter: blur(10px);
  border-radius: 50%;
  z-index: -2;
  animation: shadowPulse 6s ease-in-out infinite alternate;
}

@keyframes floatShadow {
  0% {
    transform: rotate(-3deg) translateY(0);
  }
  100% {
    transform: rotate(-2deg) translateY(-10px);
  }
}

@keyframes shadowPulse {
  0% {
    opacity: 0.5;
    filter: blur(10px);
    transform: scaleX(0.9);
  }
  100% {
    opacity: 0.7;
    filter: blur(15px);
    transform: scaleX(1.1);
  }
}

.hero-image img {
  animation: floatIn 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  transform: rotate(-1deg);
  transition: all 0.5s ease;
}

.hero-img:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.3);
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), transparent);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-image:hover::before {
  opacity: 1;
}

.about-image img {
  animation: revealFromCenter 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-image:hover img {
  transform: scale(1.05);
}

.approach-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  transform-style: preserve-3d;
}

.approach-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(249, 115, 22, 0.2), transparent 60%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.approach-image:hover::after {
  opacity: 1;
}

.approach-image img {
  animation: slideMaskReveal 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.approach-image:hover img {
  transform: scale(1.05) translateZ(10px);
}

/* Testimonial images animations */
.testimonial-author img {
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
  position: relative;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.testimonial-author img::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transform: scale(1.2);
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-author img::before {
  opacity: 1;
  transform: scale(1);
}

/* 3D tilt effect for images */
.js-tilt {
  transform-style: preserve-3d;
  transform: perspective(1000px);
}

.js-tilt-inner {
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

/* Motion Graphics Styling */
.motion-graphic {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: rgba(249, 115, 22, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
}

.motion-graphic canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.graphic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), transparent);
    z-index: 2;
    pointer-events: none;
}

.about-graphic, .approach-graphic {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    transition: all 0.5s ease;
}

.about-graphic::before, .approach-graphic::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    opacity: 0.5;
    filter: blur(5px);
    transition: all 0.5s ease;
}

.about-graphic:hover::before, .approach-graphic:hover::before {
    filter: blur(10px);
    opacity: 0.7;
}

.motion-graphic::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: 3;
    animation: shine 5s infinite linear;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 100%;
    }
}

#aboutGraphic, #approachGraphic {
    cursor: pointer;
}

#aboutGraphic:hover, #approachGraphic:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.25);
}

/* Feature Cards for About Section */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0.75rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-color);
}

.feature-card p {
    font-size: 0.95rem;
    color: #6b7280;
}

/* Tech Stack Showcase */
.tech-stack-content {
    padding: 2rem;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.tech-stack-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), transparent);
    z-index: 0;
}

.tech-stack-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    color: var(--text-color);
    text-align: center;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    justify-content: center;
}

.tech-tag {
    background-color: #f5f5f5;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: inline-block;
}

.tech-tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.2);
}

/* Development Process */
.process-showcase {
    position: relative;
    z-index: 1;
}

.process-showcase h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-color);
}

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

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    position: relative;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(249, 115, 22, 0.2);
}

.step-content {
    flex-grow: 1;
}

.step-content h5 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--text-color);
}

.step-content p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
}

.about-features, .tech-stack-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    transition: all 0.5s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Hover states */
.about-features:hover, .tech-stack-showcase:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.15);
}

.about-features::after, .tech-stack-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.about-features:hover::after, .tech-stack-showcase:hover::after {
    left: 120%;
}

/* Scroll Animation Classes */
.scroll-transition-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-scroll-visible,
.tag-scroll-visible,
.step-scroll-visible,
.approach-scroll-visible,
.service-scroll-visible,
.testimonial-scroll-visible,
.scroll-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Feature cards scroll animation */
.feature-card.scroll-transition-ready {
    transform: translateY(40px) scale(0.95);
}

.feature-card.feature-scroll-visible {
    animation: card-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes card-pop {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    70% {
        opacity: 1;
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Tech tags scroll animation */
.tech-tag.scroll-transition-ready {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}

.tech-tag.tag-scroll-visible {
    animation: tag-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes tag-pop {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translateY(-8px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Process steps scroll animation */
.process-step.scroll-transition-ready {
    opacity: 0;
    transform: translateX(-30px);
}

.process-step.step-scroll-visible {
    animation: step-slide 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes step-slide {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Approach items scroll animation */
.approach-item.scroll-transition-ready {
    opacity: 0;
    transform: translateX(30px);
}

.approach-item.approach-scroll-visible {
    animation: approach-slide 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes approach-slide {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Service cards scroll animation */
.service-card.scroll-transition-ready {
    opacity: 0;
    transform: translateY(40px);
}

.service-card.service-scroll-visible {
    animation: service-rise 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes service-rise {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonial cards scroll animation */
.testimonial-card.scroll-transition-ready {
    opacity: 0;
    transform: translateY(40px);
}

.testimonial-card.testimonial-scroll-visible {
    animation: testimonial-reveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes testimonial-reveal {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section progress indicator animation */
.scroll-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 10;
    transition: width 0.2s ease-out;
}

/* Section reveal effects */
section {
    position: relative;
}

/* Scroll direction-based animations */
[data-scroll-direction="up"] .section-title {
    animation: slide-from-bottom 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

[data-scroll-direction="down"] .section-title {
    animation: slide-from-top 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slide-from-bottom {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-from-top {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Contact Locations Style */
.contact-locations {
    background-color: var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-locations h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

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

.location-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.15);
}

.location-card:hover::before {
    transform: scaleX(1);
}

.location-card::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    bottom: -40px;
    right: -40px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-card:hover::after {
    opacity: 1;
}

.location-icon {
    background-color: rgba(249, 115, 22, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.location-card:hover .location-icon {
    background-color: var(--primary-color);
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

.location-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.location-card:hover .location-icon i {
    color: white;
}

.location-details {
    flex-grow: 1;
    z-index: 1;
}

.location-details h4 {
    font-size: 1.125rem;
    margin: 0 0 0.5rem;
    color: var(--text-color);
}

.location-details p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.location-badge i {
    margin-right: 0.35rem;
    font-size: 0.7rem;
}

.location-card:hover .location-badge {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.global-presence {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.global-presence p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .location-cards {
        grid-template-columns: 1fr;
    }
    
    .location-card {
        padding: 1.25rem;
    }
    
    .location-icon {
        width: 50px;
        height: 50px;
    }
    
    .location-icon i {
        font-size: 1.5rem;
    }
}

/* Code Game Styles - Enhanced */
.code-game {
    background: linear-gradient(to bottom right, #0f172a, #1e293b);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 100px rgba(249, 115, 22, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-game::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 30%);
    animation: pulse 15s infinite;
    z-index: 0;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

.code-game h3 {
    font-size: 1.75rem;
    color: #f97316;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(249, 115, 22, 0.3);
}

.game-intro {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.code-editor {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    background-color: #0f172a;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-editor:hover {
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(249, 115, 22, 0.2);
    transform: translateY(-5px);
}

.editor-header {
    background: linear-gradient(to right, #1e293b, #334155);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.file-tab {
    background-color: rgba(15, 23, 42, 0.7);
    color: #f8fafc;
    padding: 0.35rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.85rem;
    font-family: 'Fira Code', monospace;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-tab::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #f97316;
}

.file-tab.active {
    background-color: rgba(30, 41, 59, 0.8);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}

.editor-controls {
    display: flex;
    gap: 0.75rem;
}

.control-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    font-weight: 600;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 100px;
}

.control-btn i {
    font-size: 0.95rem;
    margin-right: 0.25rem;
}

/* Button ripple effect */
.button-ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    transform: scale(0);
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.control-btn:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.control-btn:hover::before {
    left: 100%;
}

.control-btn:active {
    transform: translateY(1px) scale(0.95);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.control-btn#runCode {
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-bottom: 3px solid #c2410c;
}

.control-btn#runCode:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
}

.control-btn#resetCode {
    background: linear-gradient(135deg, #475569, #334155);
    border-bottom: 3px solid #1e293b;
}

.control-btn#resetCode:hover {
    background: linear-gradient(135deg, #334155, #1e293b);
}

/* Run button loading animation */
.control-btn.running {
    position: relative;
    pointer-events: none;
}

.control-btn.running::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: loading-shine 1.5s infinite;
}

@keyframes loading-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

/* Testimonial entrance animations */
.testimonial-card.testimonial-entrance {
    animation: card-entrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes card-entrance {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Testimonial exit animations */
.testimonial-card.testimonial-exit-left {
    animation: card-exit-left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.testimonial-card.testimonial-exit-right {
    animation: card-exit-right 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes card-exit-left {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50px) scale(0.9);
    }
}

@keyframes card-exit-right {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }
}

/* Contact Section - Updated */
.contact {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.contact-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: start;
}

.contact-info {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to bottom right, #0f172a, #1e293b);
    border-radius: 1rem;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 30%);
    animation: pulse 15s infinite;
    z-index: 0;
}

.contact-details {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.5rem;
    color: #f97316;
    margin-right: 1.25rem;
    margin-top: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.footer-social {
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid #c2410c;
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
    color: white;
}

.linkedin-link i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info, .code-game {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-info, .code-game {
        padding: 1.5rem;
    }
    
    .linkedin-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .linkedin-link i {
        font-size: 1rem;
    }
}

/* Footer with enhanced animations */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 4rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    z-index: 2;
}

.footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-about:hover h3::after,
.footer-links:hover h3::after,
.footer-services:hover h3::after,
.footer-newsletter:hover h3::after {
    width: 100%;
}

.footer p {
    color: #d1d5db;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1rem;
}

.footer-links li::before,
.footer-services li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.footer-links a {
    color: #d1d5db;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Footer LinkedIn link */
.footer-social {
    margin-top: 1.5rem;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
    color: white;
}

.linkedin-link i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* Enhanced Animation classes for scroll animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-rotate {
    opacity: 0;
    transform: rotate(-3deg) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-bounce {
    opacity: 0;
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-text {
    overflow: hidden;
    display: block;
}

.animate-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.animate-delay-100 {
    transition-delay: 0.05s;
}

.animate-delay-200 {
    transition-delay: 0.1s;
}

.animate-delay-300 {
    transition-delay: 0.15s;
}

.animate-delay-400 {
    transition-delay: 0.2s;
}

.animate-delay-500 {
    transition-delay: 0.25s;
}

.animate-delay-600 {
    transition-delay: 0.3s;
}

.animate-delay-700 {
    transition-delay: 0.35s;
}

.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotate(0);
}

.is-visible.animate-bounce {
    animation-name: bounce;
}

.animate-text.is-visible span {
    opacity: 1;
    transform: translateY(0);
}

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

/* Mobile responsive styles */
@media (max-width: 992px) {
    .about-content,
    .contact-content,
    .approach-content,
    .hero .container {
        grid-template-columns: 1fr;
    }

    .about-image,
    .approach-image {
        margin-bottom: 2rem;
    }

    .contact-info {
        padding-right: 0;
    }

    .hero-content {
        text-align: center;
        order: 1;
    }

    .hero-image {
        order: 0;
        margin-bottom: 2rem;
    }

    .hero-cta {
        justify-content: center;
    }
}

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

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }

    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav li {
        margin: 0.75rem 0;
    }

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

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

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.875rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Unique Animation Classes */
@keyframes slideInBlur {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes revealMask {
  0% {
    clip-path: inset(0 100% 0 0);
    transform: translateX(-10px);
  }
  100% {
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
  }
}

@keyframes expandWidth {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes popScale {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  70% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideInWithGlow {
  0% {
    opacity: 0;
    transform: translateY(40px);
    filter: brightness(1.5) drop-shadow(0 0 0 transparent);
  }
  50% {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(249, 115, 22, 0.5));
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: brightness(1) drop-shadow(0 0 0 transparent);
  }
}

@keyframes bounceInRotate {
  0% {
    opacity: 0;
    transform: translateY(80px) rotate(-10deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-15px) rotate(5deg);
  }
  80% {
    transform: translateY(5px) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes clipPathReveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
    box-shadow: 0 0 0 rgba(249, 115, 22, 0);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.2);
  }
  100% {
    background-position: 0% 50%;
    box-shadow: 0 0 0 rgba(249, 115, 22, 0);
  }
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blinkCursor {
  from, to { border-right-color: transparent; }
  50% { border-right-color: var(--primary-color); }
}

.animate-slide-blur {
  opacity: 0;
  animation: slideInBlur 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-reveal {
  opacity: 1;
  animation: revealMask 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.animate-expand {
  animation: expandWidth 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-pop {
  animation: popScale 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-glow {
  animation: slideInWithGlow 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-bounce-rotate {
  animation: bounceInRotate 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

.animate-clip-reveal {
  animation: clipPathReveal 0.8s cubic-bezier(0.83, 0, 0.17, 1) forwards;
}

.animate-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

.animate-type {
  display: inline-block;
  overflow: hidden;
  border-right: 3px solid var(--primary-color);
  white-space: nowrap;
  animation: 
    typewriter 2.5s steps(40, end) forwards,
    blinkCursor 0.75s step-end infinite;
}

.animate-delay-100 {
  animation-delay: 0.1s;
}

.animate-delay-200 {
  animation-delay: 0.2s;
}

.animate-delay-300 {
  animation-delay: 0.3s;
}

.animate-delay-400 {
  animation-delay: 0.4s;
}

.animate-delay-500 {
  animation-delay: 0.5s;
}

.animate-delay-600 {
  animation-delay: 0.6s;
}

.animate-delay-700 {
  animation-delay: 0.7s;
}

/* Service card hover effects with new animation */
.service-card {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(249, 115, 22, 0.05));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(35deg) translateY(-50%) translateX(-150%);
  top: 0;
  left: 0;
  z-index: 2;
  transition: transform 0.6s ease;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 30px rgba(249, 115, 22, 0.2);
  border-bottom: 3px solid var(--primary-color);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  transform: rotate(35deg) translateY(-50%) translateX(300%);
}

.service-icon {
  position: relative;
  z-index: 3;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(10deg);
  color: var(--secondary-color);
}

/* LinkedIn button animation */
.linkedin-link {
  position: relative;
  overflow: hidden;
}

.linkedin-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}

.linkedin-link:hover {
  transform: translateY(-5px);
  background-color: var(--secondary-color);
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.4);
}

.linkedin-link:hover::before {
  left: 100%;
}

.linkedin-link i {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.linkedin-link:hover i {
  transform: rotate(360deg) scale(1.2);
}

/* Enhanced Image Animations */
@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    filter: brightness(0.8) blur(10px);
  }
  40% {
    opacity: 1;
    filter: brightness(1.1) blur(0px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1) blur(0px);
  }
}

@keyframes revealFromCenter {
  0% {
    clip-path: circle(0% at center);
    transform: scale(0.8);
    filter: brightness(1.2);
  }
  100% {
    clip-path: circle(150% at center);
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes slideMaskReveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transform: scale(1.05);
  }
  30% {
    clip-path: polygon(0 0, 20% 0, 20% 100%, 0 100%);
  }
  60% {
    clip-path: polygon(0 0, 80% 0, 80% 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: scale(1);
  }
}

.hero-image img, .about-image img, .approach-image img {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transform-origin: center;
  will-change: transform;
}

.hero-image {
  position: relative;
  perspective: 1000px;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: 50%;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(249, 115, 22, 0.05));
  border-radius: 1rem;
  transform: rotate(-3deg);
  z-index: -1;
  animation: floatShadow 6s ease-in-out infinite alternate;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 10%;
  right: 10%;
  height: 20px;
  background: rgba(0, 0, 0, 0.1);
  filter: blur(10px);
  border-radius: 50%;
  z-index: -2;
  animation: shadowPulse 6s ease-in-out infinite alternate;
}

@keyframes floatShadow {
  0% {
    transform: rotate(-3deg) translateY(0);
  }
  100% {
    transform: rotate(-2deg) translateY(-10px);
  }
}

@keyframes shadowPulse {
  0% {
    opacity: 0.5;
    filter: blur(10px);
    transform: scaleX(0.9);
  }
  100% {
    opacity: 0.7;
    filter: blur(15px);
    transform: scaleX(1.1);
  }
}

.hero-image img {
  animation: floatIn 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  transform: rotate(-1deg);
  transition: all 0.5s ease;
}

.hero-img:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.3);
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), transparent);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-image:hover::before {
  opacity: 1;
}

.about-image img {
  animation: revealFromCenter 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-image:hover img {
  transform: scale(1.05);
}

.approach-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  transform-style: preserve-3d;
}

.approach-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(249, 115, 22, 0.2), transparent 60%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.approach-image:hover::after {
  opacity: 1;
}

.approach-image img {
  animation: slideMaskReveal 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.approach-image:hover img {
  transform: scale(1.05) translateZ(10px);
}

/* Testimonial images animations */
.testimonial-author img {
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
  position: relative;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.testimonial-author img::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transform: scale(1.2);
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-author img::before {
  opacity: 1;
  transform: scale(1);
}

/* 3D tilt effect for images */
.js-tilt {
  transform-style: preserve-3d;
  transform: perspective(1000px);
}

.js-tilt-inner {
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

/* Motion Graphics Styling */
.motion-graphic {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: rgba(249, 115, 22, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
}

.motion-graphic canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.graphic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), transparent);
    z-index: 2;
    pointer-events: none;
}

.about-graphic, .approach-graphic {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    transition: all 0.5s ease;
}

.about-graphic::before, .approach-graphic::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    opacity: 0.5;
    filter: blur(5px);
    transition: all 0.5s ease;
}

.about-graphic:hover::before, .approach-graphic:hover::before {
    filter: blur(10px);
    opacity: 0.7;
}

.motion-graphic::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: 3;
    animation: shine 5s infinite linear;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 100%;
    }
}

#aboutGraphic, #approachGraphic {
    cursor: pointer;
}

#aboutGraphic:hover, #approachGraphic:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.25);
}

/* Feature Cards for About Section */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0.75rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-color);
}

.feature-card p {
    font-size: 0.95rem;
    color: #6b7280;
}

/* Tech Stack Showcase */
.tech-stack-content {
    padding: 2rem;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.tech-stack-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), transparent);
    z-index: 0;
}

.tech-stack-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    color: var(--text-color);
    text-align: center;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    justify-content: center;
}

.tech-tag {
    background-color: #f5f5f5;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: inline-block;
}

.tech-tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.2);
}

/* Development Process */
.process-showcase {
    position: relative;
    z-index: 1;
}

.process-showcase h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-color);
}

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

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    position: relative;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(249, 115, 22, 0.2);
}

.step-content {
    flex-grow: 1;
}

.step-content h5 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--text-color);
}

.step-content p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
}

.about-features, .tech-stack-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    transition: all 0.5s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Hover states */
.about-features:hover, .tech-stack-showcase:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.15);
}

.about-features::after, .tech-stack-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.about-features:hover::after, .tech-stack-showcase:hover::after {
    left: 120%;
}

/* Scroll Animation Classes */
.scroll-transition-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-scroll-visible,
.tag-scroll-visible,
.step-scroll-visible,
.approach-scroll-visible,
.service-scroll-visible,
.testimonial-scroll-visible,
.scroll-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Feature cards scroll animation */
.feature-card.scroll-transition-ready {
    transform: translateY(40px) scale(0.95);
}

.feature-card.feature-scroll-visible {
    animation: card-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes card-pop {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    70% {
        opacity: 1;
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Tech tags scroll animation */
.tech-tag.scroll-transition-ready {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}

.tech-tag.tag-scroll-visible {
    animation: tag-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes tag-pop {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translateY(-8px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Process steps scroll animation */
.process-step.scroll-transition-ready {
    opacity: 0;
    transform: translateX(-30px);
}

.process-step.step-scroll-visible {
    animation: step-slide 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes step-slide {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Approach items scroll animation */
.approach-item.scroll-transition-ready {
    opacity: 0;
    transform: translateX(30px);
}

.approach-item.approach-scroll-visible {
    animation: approach-slide 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes approach-slide {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Service cards scroll animation */
.service-card.scroll-transition-ready {
    opacity: 0;
    transform: translateY(40px);
}

.service-card.service-scroll-visible {
    animation: service-rise 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes service-rise {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonial cards scroll animation */
.testimonial-card.scroll-transition-ready {
    opacity: 0;
    transform: translateY(40px);
}

.testimonial-card.testimonial-scroll-visible {
    animation: testimonial-reveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes testimonial-reveal {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section progress indicator animation */
.scroll-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 10;
    transition: width 0.2s ease-out;
}

/* Section reveal effects */
section {
    position: relative;
}

/* Scroll direction-based animations */
[data-scroll-direction="up"] .section-title {
    animation: slide-from-bottom 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

[data-scroll-direction="down"] .section-title {
    animation: slide-from-top 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slide-from-bottom {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-from-top {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Contact Locations Style */
.contact-locations {
    background-color: var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-locations h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

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

.location-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.15);
}

.location-card:hover::before {
    transform: scaleX(1);
}

.location-card::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    bottom: -40px;
    right: -40px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-card:hover::after {
    opacity: 1;
}

.location-icon {
    background-color: rgba(249, 115, 22, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.location-card:hover .location-icon {
    background-color: var(--primary-color);
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

.location-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.location-card:hover .location-icon i {
    color: white;
}

.location-details {
    flex-grow: 1;
    z-index: 1;
}

.location-details h4 {
    font-size: 1.125rem;
    margin: 0 0 0.5rem;
    color: var(--text-color);
}

.location-details p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.location-badge i {
    margin-right: 0.35rem;
    font-size: 0.7rem;
}

.location-card:hover .location-badge {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.global-presence {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.global-presence p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .location-cards {
        grid-template-columns: 1fr;
    }
    
    .location-card {
        padding: 1.25rem;
    }
    
    .location-icon {
        width: 50px;
        height: 50px;
    }
    
    .location-icon i {
        font-size: 1.5rem;
    }
}

/* Code Game Styles - Enhanced */
.code-game {
    background: linear-gradient(to bottom right, #0f172a, #1e293b);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 100px rgba(249, 115, 22, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-game::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 30%);
    animation: pulse 15s infinite;
    z-index: 0;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

.code-game h3 {
    font-size: 1.75rem;
    color: #f97316;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(249, 115, 22, 0.3);
}

.game-intro {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.code-editor {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    background-color: #0f172a;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-editor:hover {
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(249, 115, 22, 0.2);
    transform: translateY(-5px);
}

.editor-header {
    background: linear-gradient(to right, #1e293b, #334155);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.file-tab {
    background-color: rgba(15, 23, 42, 0.7);
    color: #f8fafc;
    padding: 0.35rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.85rem;
    font-family: 'Fira Code', monospace;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-tab::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #f97316;
}

.file-tab.active {
    background-color: rgba(30, 41, 59, 0.8);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}

.editor-controls {
    display: flex;
    gap: 0.75rem;
}

.control-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    font-weight: 600;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 100px;
}

.control-btn i {
    font-size: 0.95rem;
    margin-right: 0.25rem;
}

/* Button ripple effect */
.button-ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    transform: scale(0);
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.control-btn:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.control-btn:hover::before {
    left: 100%;
}

.control-btn:active {
    transform: translateY(1px) scale(0.95);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.control-btn#runCode {
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-bottom: 3px solid #c2410c;
}

.control-btn#runCode:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
}

.control-btn#resetCode {
    background: linear-gradient(135deg, #475569, #334155);
    border-bottom: 3px solid #1e293b;
}

.control-btn#resetCode:hover {
    background: linear-gradient(135deg, #334155, #1e293b);
}

/* Run button loading animation */
.control-btn.running {
    position: relative;
    pointer-events: none;
}

.control-btn.running::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: loading-shine 1.5s infinite;
}

@keyframes loading-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

/* Testimonial entrance animations */
.testimonial-card.testimonial-entrance {
    animation: card-entrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes card-entrance {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Testimonial exit animations */
.testimonial-card.testimonial-exit-left {
    animation: card-exit-left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.testimonial-card.testimonial-exit-right {
    animation: card-exit-right 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes card-exit-left {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50px) scale(0.9);
    }
}

@keyframes card-exit-right {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }
}

/* Contact Section - Updated */
.contact {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.contact-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: start;
}

.contact-info {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to bottom right, #0f172a, #1e293b);
    border-radius: 1rem;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 30%);
    animation: pulse 15s infinite;
    z-index: 0;
}

.contact-details {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.5rem;
    color: #f97316;
    margin-right: 1.25rem;
    margin-top: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.footer-social {
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid #c2410c;
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
    color: white;
}

.linkedin-link i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info, .code-game {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-info, .code-game {
        padding: 1.5rem;
    }
    
    .linkedin-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .linkedin-link i {
        font-size: 1rem;
    }
}

/* Footer with enhanced animations */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 4rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    z-index: 2;
}

.footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-about:hover h3::after,
.footer-links:hover h3::after,
.footer-services:hover h3::after,
.footer-newsletter:hover h3::after {
    width: 100%;
}

.footer p {
    color: #d1d5db;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1rem;
}

.footer-links li::before,
.footer-services li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.footer-links a {
    color: #d1d5db;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Footer LinkedIn link */
.footer-social {
    margin-top: 1.5rem;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
    color: white;
}

.linkedin-link i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* Enhanced Animation classes for scroll animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-rotate {
    opacity: 0;
    transform: rotate(-3deg) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-bounce {
    opacity: 0;
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-text {
    overflow: hidden;
    display: block;
}

.animate-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.animate-delay-100 {
    transition-delay: 0.05s;
}

.animate-delay-200 {
    transition-delay: 0.1s;
}

.animate-delay-300 {
    transition-delay: 0.15s;
}

.animate-delay-400 {
    transition-delay: 0.2s;
}

.animate-delay-500 {
    transition-delay: 0.25s;
}

.animate-delay-600 {
    transition-delay: 0.3s;
}

.animate-delay-700 {
    transition-delay: 0.35s;
}

.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotate(0);
}

.is-visible.animate-bounce {
    animation-name: bounce;
}

.animate-text.is-visible span {
    opacity: 1;
    transform: translateY(0);
}

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

/* Mobile responsive styles */
@media (max-width: 992px) {
    .about-content,
    .contact-content,
    .approach-content,
    .hero .container {
        grid-template-columns: 1fr;
    }

    .about-image,
    .approach-image {
        margin-bottom: 2rem;
    }

    .contact-info {
        padding-right: 0;
    }

    .hero-content {
        text-align: center;
        order: 1;
    }

    .hero-image {
        order: 0;
        margin-bottom: 2rem;
    }

    .hero-cta {
        justify-content: center;
    }
}

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

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }

    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav li {
        margin: 0.75rem 0;
    }

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

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

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.875rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Unique Animation Classes */
@keyframes slideInBlur {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes revealMask {
  0% {
    clip-path: inset(0 100% 0 0);
    transform: translateX(-10px);
  }
  100% {
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
  }
}

@keyframes expandWidth {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes popScale {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  70% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideInWithGlow {
  0% {
    opacity: 0;
    transform: translateY(40px);
    filter: brightness(1.5) drop-shadow(0 0 0 transparent);
  }
  50% {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(249, 115, 22, 0.5));
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: brightness(1) drop-shadow(0 0 0 transparent);
  }
}

@keyframes bounceInRotate {
  0% {
    opacity: 0;
    transform: translateY(80px) rotate(-10deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-15px) rotate(5deg);
  }
  80% {
    transform: translateY(5px) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes clipPathReveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
    box-shadow: 0 0 0 rgba(249, 115, 22, 0);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.2);
  }
  100% {
    background-position: 0% 50%;
    box-shadow: 0 0 0 rgba(249, 115, 22, 0);
  }
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blinkCursor {
  from, to { border-right-color: transparent; }
  50% { border-right-color: var(--primary-color); }
}

.animate-slide-blur {
  opacity: 0;
  animation: slideInBlur 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-reveal {
  opacity: 1;
  animation: revealMask 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.animate-expand {
  animation: expandWidth 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-pop {
  animation: popScale 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-glow {
  animation: slideInWithGlow 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-bounce-rotate {
  animation: bounceInRotate 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

.animate-clip-reveal {
  animation: clipPathReveal 0.8s cubic-bezier(0.83, 0, 0.17, 1) forwards;
}

.animate-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

.animate-type {
  display: inline-block;
  overflow: hidden;
  border-right: 3px solid var(--primary-color);
  white-space: nowrap;
  animation: 
    typewriter 2.5s steps(40, end) forwards,
    blinkCursor 0.75s step-end infinite;
}

.animate-delay-100 {
  animation-delay: 0.1s;
}

.animate-delay-200 {
  animation-delay: 0.2s;
}

.animate-delay-300 {
  animation-delay: 0.3s;
}

.animate-delay-400 {
  animation-delay: 0.4s;
}

.animate-delay-500 {
  animation-delay: 0.5s;
}

.animate-delay-600 {
  animation-delay: 0.6s;
}

.animate-delay-700 {
  animation-delay: 0.7s;
}

/* Service card hover effects with new animation */
.service-card {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(249, 115, 22, 0.05));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(35deg) translateY(-50%) translateX(-150%);
  top: 0;
  left: 0;
  z-index: 2;
  transition: transform 0.6s ease;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 30px rgba(249, 115, 22, 0.2);
  border-bottom: 3px solid var(--primary-color);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  transform: rotate(35deg) translateY(-50%) translateX(300%);
}

.service-icon {
  position: relative;
  z-index: 3;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(10deg);
  color: var(--secondary-color);
}

/* LinkedIn button animation */
.linkedin-link {
  position: relative;
  overflow: hidden;
}

.linkedin-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}

.linkedin-link:hover {
  transform: translateY(-5px);
  background-color: var(--secondary-color);
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.4);
}

.linkedin-link:hover::before {
  left: 100%;
}

.linkedin-link i {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.linkedin-link:hover i {
  transform: rotate(360deg) scale(1.2);
}

/* Enhanced Image Animations */
@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    filter: brightness(0.8) blur(10px);
  }
  40% {
    opacity: 1;
    filter: brightness(1.1) blur(0px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1) blur(0px);
  }
}

@keyframes revealFromCenter {
  0% {
    clip-path: circle(0% at center);
    transform: scale(0.8);
    filter: brightness(1.2);
  }
  100% {
    clip-path: circle(150% at center);
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes slideMaskReveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transform: scale(1.05);
  }
  30% {
    clip-path: polygon(0 0, 20% 0, 20% 100%, 0 100%);
  }
  60% {
    clip-path: polygon(0 0, 80% 0, 80% 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: scale(1);
  }
}

.hero-image img, .about-image img, .approach-image img {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transform-origin: center;
  will-change: transform;
}

.hero-image {
  position: relative;
  perspective: 1000px;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: 50%;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(249, 115, 22, 0.05));
  border-radius: 1rem;
  transform: rotate(-3deg);
  z-index: -1;
  animation: floatShadow 6s ease-in-out infinite alternate;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 10%;
  right: 10%;
  height: 20px;
  background: rgba(0, 0, 0, 0.1);
  filter: blur(10px);
  border-radius: 50%;
  z-index: -2;
  animation: shadowPulse 6s ease-in-out infinite alternate;
}

@keyframes floatShadow {
  0% {
    transform: rotate(-3deg) translateY(0);
  }
  100% {
    transform: rotate(-2deg) translateY(-10px);
  }
}

@keyframes shadowPulse {
  0% {
    opacity: 0.5;
    filter: blur(10px);
    transform: scaleX(0.9);
  }
  100% {
    opacity: 0.7;
    filter: blur(15px);
    transform: scaleX(1.1);
  }
}

.hero-image img {
  animation: floatIn 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  transform: rotate(-1deg);
  transition: all 0.5s ease;
}

.hero-img:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.3);
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), transparent);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-image:hover::before {
  opacity: 1;
}

.about-image img {
  animation: revealFromCenter 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-image:hover img {
  transform: scale(1.05);
}

.approach-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  transform-style: preserve-3d;
}

.approach-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(249, 115, 22, 0.2), transparent 60%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.approach-image:hover::after {
  opacity: 1;
}

.approach-image img {
  animation: slideMaskReveal 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.approach-image:hover img {
  transform: scale(1.05) translateZ(10px);
}

/* Testimonial images animations */
.testimonial-author img {
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
  position: relative;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.testimonial-author img::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transform: scale(1.2);
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-author img::before {
  opacity: 1;
  transform: scale(1);
}

/* 3D tilt effect for images */
.js-tilt {
  transform-style: preserve-3d;
  transform: perspective(1000px);
}

.js-tilt-inner {
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

/* Motion Graphics Styling */
.motion-graphic {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: rgba(249, 115, 22, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
}

.motion-graphic canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.graphic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), transparent);
    z-index: 2;
    pointer-events: none;
}

.about-graphic, .approach-graphic {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    transition: all 0.5s ease;
}

.about-graphic::before, .approach-graphic::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    opacity: 0.5;
    filter: blur(5px);
    transition: all 0.5s ease;
}

.about-graphic:hover::before, .approach-graphic:hover::before {
    filter: blur(10px);
    opacity: 0.7;
}

.motion-graphic::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: 3;
    animation: shine 5s infinite linear;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 100%;
    }
}

#aboutGraphic, #approachGraphic {
    cursor: pointer;
}

#aboutGraphic:hover, #approachGraphic:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.25);
}

/* Feature Cards for About Section */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0.75rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-color);
}

.feature-card p {
    font-size: 0.95rem;
    color: #6b7280;
}

/* Tech Stack Showcase */
.tech-stack-content {
    padding: 2rem;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.tech-stack-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), transparent);
    z-index: 0;
}

.tech-stack-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    color: var(--text-color);
    text-align: center;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    justify-content: center;
}

.tech-tag {
    background-color: #f5f5f5;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: inline-block;
}

.tech-tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.2);
}

/* Development Process */
.process-showcase {
    position: relative;
    z-index: 1;
}

.process-showcase h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-color);
}

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

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    position: relative;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(249, 115, 22, 0.2);
}

.step-content {
    flex-grow: 1;
}

.step-content h5 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--text-color);
}

.step-content p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
}

.about-features, .tech-stack-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    transition: all 0.5s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Hover states */
.about-features:hover, .tech-stack-showcase:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.15);
}

.about-features::after, .tech-stack-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.about-features:hover::after, .tech-stack-showcase:hover::after {
    left: 120%;
}

/* Scroll Animation Classes */
.scroll-transition-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-scroll-visible,
.tag-scroll-visible,
.step-scroll-visible,
.approach-scroll-visible,
.service-scroll-visible,
.testimonial-scroll-visible,
.scroll-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Feature cards scroll animation */
.feature-card.scroll-transition-ready {
    transform: translateY(40px) scale(0.95);
}

.feature-card.feature-scroll-visible {
    animation: card-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes card-pop {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    70% {
        opacity: 1;
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Tech tags scroll animation */
.tech-tag.scroll-transition-ready {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}

.tech-tag.tag-scroll-visible {
    animation: tag-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes tag-pop {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translateY(-8px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Process steps scroll animation */
.process-step.scroll-transition-ready {
    opacity: 0;
    transform: translateX(-30px);
}

.process-step.step-scroll-visible {
    animation: step-slide 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes step-slide {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Approach items scroll animation */
.approach-item.scroll-transition-ready {
    opacity: 0;
    transform: translateX(30px);
}

.approach-item.approach-scroll-visible {
    animation: approach-slide 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes approach-slide {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Service cards scroll animation */
.service-card.scroll-transition-ready {
    opacity: 0;
    transform: translateY(40px);
}

.service-card.service-scroll-visible {
    animation: service-rise 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes service-rise {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}/* Syntax highlighting for the code editor */
.code-keyword {
    color: #c084fc; /* purple */
}

.code-function {
    color: #f59e0b; /* amber */
}

.code-string {
    color: #10b981; /* emerald */
}

.code-number {
    color: #3b82f6; /* blue */
}

.code-comment {
    color: #64748b; /* slate */
    font-style: italic;
}

.code-operator {
    color: #e11d48; /* rose */
}

.code-variable {
    color: #38bdf8; /* sky */
}

@media (max-width: 768px) {
.code-game {
        padding: 1.5rem;
    }
    
    .editor-body {
        max-height: 280px;
    }
    
    .output-body {
        min-height: 80px;
        max-height: 120px;
    }
}

/* Products Section */
.products {
    padding: 5rem 0;
    background-color: var(--light-gray);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(249, 115, 22, 0.05) 100%);
}

.section-intro {
    font-size: 1.1rem;
    color: #6b7280;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #fbbf24);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.product-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #fbbf24);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.product-badge {
    background: linear-gradient(135deg, var(--primary-color), #fbbf24);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-content h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.product-tagline {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.product-footer {
    margin-top: auto;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.product-link:hover {
    gap: 0.8rem;
    color: #ea580c;
}

.product-link i {
    transition: transform 0.3s ease;
}

.product-link:hover i {
    transform: translateX(3px);
}

.products-cta {
    text-align: center;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.1);
}

.products-cta h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.products-cta p {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design for Products */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .products {
        padding: 3rem 0;
    }
    
    .products-grid {
        gap: 1rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .product-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .product-badge {
        align-self: flex-start;
    }
    
    .product-features {
        gap: 0.3rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .products-cta {
        padding: 2rem 1.5rem;
    }
} 