/* ================== VARIABLES & BASE STYLES ================== */
:root {
    --orange-1: #fd7e14;
    --orange-2: #ffb703;
    --gradient: linear-gradient(45deg, var(--orange-1), var(--orange-2));
    --animated-gradient: conic-gradient(from 180deg, transparent 25%, #8338ec, #e63946, #ffb703);
    --light-orange: #fff4e6;
    --dark-color: #212529;
    --text-color: #6c757d;
    --light-color: #fff;
    --background-color: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --font-family: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); background-color: var(--light-color); color: var(--text-color); line-height: 1.7; font-size: 16px; }
body.modal-open { overflow: hidden; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { color: var(--dark-color); font-weight: 700; line-height: 1.3; }
a { text-decoration: none; color: var(--orange-1); transition: color 0.3s ease; }
a:hover { color: var(--orange-2); }
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 2.8rem; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; max-width: 700px; margin-left: auto; margin-right: auto; color: #6c757d; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 12px 28px; border-radius: 12px; font-weight: 600; transition: all 0.3s ease; border: 1px solid transparent; font-size: 1rem; }
.btn-primary { background: var(--gradient); color: var(--light-color); box-shadow: 0 5px 15px rgba(253, 126, 20, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(253, 126, 20, 0.4); }
.btn-secondary { background-color: var(--light-color); color: var(--dark-color); border-color: var(--border-color); box-shadow: 0 4px 6px rgba(0,0,0,0.03); }
.btn-secondary:hover { background-color: #fdfdfd; transform: translateY(-3px); box-shadow: 0 6px 10px rgba(0,0,0,0.05); }
.btn-large { padding: 15px 35px; font-size: 1.1rem; }
.btn-full { width: 100%; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ================== HEADER ================== */
.header { background-color: rgba(255, 255, 255, 0.9); padding: 1rem 0; position: fixed; width: 100%; z-index: 1000; backdrop-filter: blur(10px); transition: box-shadow 0.3s ease; border-bottom: 1px solid #f0f0f0; }
.header.scrolled { box-shadow: var(--shadow); }
.header nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 800; color: var(--dark-color); }
.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { margin-left: 2.5rem; }
.nav-links a { color: var(--text-color); font-weight: 600; }
.nav-links a.btn { color: white; }

/* ================== HERO SECTION ================== */
.hero { padding: 180px 0 150px 0; text-align: center; background-color: var(--light-color); position: relative; overflow: hidden; }
.hero-content { position: relative; z-index: 3; }
.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 183, 3, 0.1), transparent 60%);
    filter: blur(50px);
    z-index: -1;
    opacity: 0.8;
}

.hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; background-color: var(--light-orange); color: var(--orange-1); padding: 8px 16px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; margin-bottom: 1.5rem; }
.hero-title { font-size: 4rem; font-weight: 800; margin: 0 auto 1.5rem auto; max-width: 800px; line-height: 1.2; }

/* --- Moving Highlight Line --- */
.highlight-animated { 
    position: relative; 
    display: inline-block;
    overflow: hidden; 
    padding-bottom: 8px; 
}
.highlight-animated::after { 
    content: ''; 
    position: absolute; 
    bottom: 0;
    left: -100%; 
    width: 100%; 
    height: 3px; 
    background: linear-gradient(90deg, 
        #00F2FE, 
        #4FACFE, 
        #E81CFF, 
        #FFC837, 
        #00F2FE 
    );
    background-size: 200% auto;
    animation: 
        moving-highlight 3.5s ease-in-out infinite,
        animate-gradient-highlight 3.5s linear infinite;
}
@keyframes moving-highlight {
    0% { left: -100%; }
    45%, 55% { left: 0; }
    100% { left: 100%; }
}
@keyframes animate-gradient-highlight { 
    to { background-position: 200% center; } 
}

.hero-subtitle { font-size: 1.25rem; max-width: 650px; margin: 0 auto 2.5rem auto; color: var(--text-color); }
.hero-buttons { display: flex; justify-content: center; gap: 1rem; }
.hero-bg-animation { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-bg-animation li { position: absolute; display: block; list-style: none; width: 20px; height: 20px; background: rgba(255, 183, 3, 0.15); animation: animate-bg 25s linear infinite; bottom: -150px; border-radius: 50%; }
.hero-bg-animation li:nth-child(1){ left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
.hero-bg-animation li:nth-child(2){ left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; }
.hero-bg-animation li:nth-child(3){ left: 70%; width: 20px; height: 20px; animation-delay: 4s; }
@keyframes animate-bg { 0% { transform: translateY(0) rotate(0deg); opacity: 1; } 100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; } }
.hero-stats-card { position: relative; z-index: 3; padding: 3px; max-width: 700px; margin: 4rem auto 0 auto; border-radius: 16px; background: var(--border-color); overflow: hidden; }
.hero-stats-card::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 150%; height: 150%; background: var(--animated-gradient); z-index: 1; animation: spin 2.5s linear infinite; }
.stats-card-content { position: relative; z-index: 2; background-color: var(--light-color); border-radius: 14px; padding: 2rem 3rem; display: flex; justify-content: space-around; align-items: center; }
@keyframes spin { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
.stat-item { text-align: center; }
.stat-item h4, .stat-item i { font-size: 2.8rem; font-weight: 800; display: block; line-height: 1.2; }
.stat-item p { color: var(--text-color); font-size: 1rem; margin-top: 0.5rem; }

/* --- HERO DECORATIVE BLOBS --- */
.hero-blob, .hero-blob-2 {
    position: absolute;
    background: var(--gradient);
    opacity: 0.1;
    animation: morph-blob 20s ease-in-out infinite;
    z-index: 1;
    filter: blur(30px);
}
.hero-blob {
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
.hero-blob-2 {
    top: -50px;
    left: -150px;
    width: 350px;
    height: 350px;
    border-radius: 70% 30% 60% 40% / 50% 60% 30% 70%;
    animation-delay: -5s; 
}
@keyframes morph-blob { 
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(0deg); } 
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: rotate(180deg); } 
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(360deg); } 
}

/* --- Floating Code Elements --- */
.hero-coding-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-coding-elements span {
    position: absolute;
    display: block;
    bottom: -150px;
    /* --- UPDATED: Use gradient for color --- */
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-family: monospace;
    user-select: none;
    animation: float-code 20s linear infinite;
}
@keyframes float-code {
    0% { transform: translateY(0); opacity: 0; }
    10%, 90% { opacity: 0.5; } /* --- Adjusted opacity --- */
    100% { transform: translateY(-120vh) rotate(60deg); opacity: 0; }
}
.hero-coding-elements span:nth-child(1) { left: 10%; font-size: 2.5rem; animation-duration: 25s; animation-delay: -5s; }
.hero-coding-elements span:nth-child(2) { left: 25%; font-size: 4rem; animation-duration: 18s; animation-delay: -12s; }
.hero-coding-elements span:nth-child(3) { left: 40%; font-size: 2rem; animation-duration: 22s; animation-delay: -2s; }
.hero-coding-elements span:nth-child(4) { left: 55%; font-size: 3rem; animation-duration: 28s; animation-delay: -18s; }
.hero-coding-elements span:nth-child(5) { left: 70%; font-size: 4.5rem; animation-duration: 15s; animation-delay: -1s; }
.hero-coding-elements span:nth-child(6) { left: 85%; font-size: 2.8rem; animation-duration: 19s; animation-delay: -8s; }
.hero-coding-elements span:nth-child(7) { left: 5%; font-size: 2.2rem; animation-duration: 24s; animation-delay: -15s; }
.hero-coding-elements span:nth-child(8) { left: 90%; font-size: 3.5rem; animation-duration: 17s; animation-delay: -4s; }


.hero-waves { position: absolute; bottom: 0; left: 0; width: 100%; height: 15vh; min-height: 100px; max-height: 250px; z-index: 2; }
.waves { position: relative; width: 100%; height: 100%; }
.parallax > use { animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite; }
.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }
@keyframes move-forever { 0% { transform: translate3d(-90px,0,0); } 100% { transform: translate3d(85px,0,0); } }

/* ================== SERVICES SECTION ================== */
.services { background-color: var(--background-color); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.service-card { position: relative; padding: 3px; border-radius: 16px; background: var(--border-color); overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 50%; left: 50%; width: 150%; height: 150%; background: var(--animated-gradient); z-index: 1; animation: spin 4s linear infinite; opacity: 0; transition: opacity 0.4s ease; }
.service-card:hover::before { opacity: 1; }
.service-card-content { position: relative; z-index: 2; background: var(--light-color); padding: 2.5rem; border-radius: 14px; text-align: left; height: 100%; }
.service-icon { width: 60px; height: 60px; border-radius: 12px; background: var(--gradient); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; box-shadow: 0 5px 15px rgba(253, 126, 20, 0.3); }
.service-icon i { color: var(--light-color); font-size: 1.8rem; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 0.75rem; font-weight: 700; }
.service-card p { line-height: 1.6; margin-bottom: 0; }
.chat-icon-btn { position: absolute; top: 1rem; right: 1rem; z-index: 3; background: var(--background-color); border: 1px solid var(--border-color); color: var(--text-color); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all 0.3s ease; }
.chat-icon-btn:hover { background: var(--orange-1); color: var(--light-color); transform: scale(1.1); }

/* ================== PORTFOLIO SECTION ================== */
.portfolio { background-color: var(--light-color); padding: 100px 0; }
.marquee-wrapper { overflow: hidden; width: 100%; user-select: none; position: relative; }
.marquee-wrapper::before, .marquee-wrapper::after { content: ''; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; }
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--light-color), transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--light-color), transparent); }
.marquee-content { display: flex; width: fit-content; animation: scroll-left 40s linear infinite; }
.marquee-wrapper:hover .marquee-content { animation-play-state: paused; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.portfolio-item { display: block; text-decoration: none; flex-shrink: 0; width: 400px; margin: 0 1rem; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.portfolio-item:hover { transform: scale(1.03); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ================== PRICING SECTION ================== */
.pricing { background-color: var(--background-color); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.pricing-card { background-color: var(--light-color); padding: 2.5rem; border-radius: 16px; border: 1px solid var(--border-color); text-align: left; position: relative; transition: all 0.3s ease; }
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pricing-card.popular { border: 2px solid var(--orange-1); }
.popular-tag { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--gradient); color: white; padding: 5px 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 0.3rem; }
.pricing-card .card-header h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.pricing-card .card-header p { margin-bottom: 1.5rem; }
.pricing-card .price { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 1.5rem; }
.pricing-card .price h2 { font-size: 3.5rem; font-weight: 800; line-height: 1; }
.pricing-card .price span { color: var(--text-color); font-weight: 500; }
.pricing-card .custom-price h2 { color: var(--dark-color); }
.pricing-card hr { border: 0; height: 1px; background-color: var(--border-color); margin-bottom: 1.5rem; }
.pricing-card .features-list { list-style: none; padding: 0; margin: 0 0 2rem 0; }
.pricing-card .features-list li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.pricing-card .features-list i { color: var(--orange-1); font-size: 1.1rem; }

/* ================== TESTIMONIALS SECTION ================== */
.testimonials { background-color: var(--light-color); }
.testimonial-slider-wrapper { overflow: hidden; width: 100%; }
.testimonial-slider-track { display: flex; transition: transform 0.5s ease-in-out; }
.testimonial-card { flex: 0 0 50%; max-width: 50%; padding: 0 1rem; }
.testimonial-card-inner { background: var(--background-color); padding: 2.5rem; border: 1px solid var(--border-color); border-radius: 16px; position: relative; height: 100%; }
.testimonial-card-inner .fa-quote-left { font-size: 3rem; color: var(--orange-1); opacity: 0.2; position: absolute; top: 1.5rem; left: 1.5rem; }
.testimonial-card-inner p { font-size: 1.1rem; font-style: italic; color: var(--dark-color); margin-bottom: 2rem; position: relative; z-index: 2; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-author img { width: 60px; height: 60px; border-radius: 50%; }
.testimonial-author h4 { margin: 0; font-size: 1.1rem; }
.testimonial-author span { color: var(--text-color); font-size: 0.9rem; }
.testimonial-dots { display: flex; justify-content: center; align-items: center; gap: 0.75rem; margin-top: 2.5rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background-color: var(--border-color); border: none; cursor: pointer; transition: all 0.3s ease; }
.dot.active { background: var(--gradient); transform: scale(1.3); }

/* ================== PROCESS SECTION ================== */
.process { background-color: var(--background-color); }
.process-timeline-wrapper { position: relative; max-width: 800px; margin: 0 auto; }
.timeline-line { position: absolute; left: 25px; top: 0; bottom: 0; width: 4px; background: var(--border-color); border-radius: 2px; }
.timeline-item { position: relative; padding-left: 80px; margin-bottom: 50px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-number { position: absolute; left: 0; top: 0; width: 50px; height: 50px; border-radius: 50%; background: var(--gradient); color: var(--light-color); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; border: 4px solid var(--background-color); box-shadow: 0 0 0 4px var(--orange-1); }
.timeline-content { background: var(--light-color); padding: 1.5rem; border-radius: 12px; border: 1px solid var(--border-color); transition: all 0.3s ease; }
.timeline-item:hover .timeline-content { transform: translateX(10px); box-shadow: var(--shadow); }
.timeline-content h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

/* ================== FAQ SECTION ================== */
.faq { background-color: var(--light-color); }
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--light-color); margin-bottom: 1rem; border-radius: 12px; border: 1px solid var(--border-color); transition: all 0.3s ease; }
.faq-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 1.5rem; font-size: 1.1rem; font-weight: 600; color: var(--dark-color); display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-question span { padding-right: 1rem; }
.faq-icon { position: relative; width: 20px; height: 20px; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; background: var(--dark-color); border-radius: 1px; transition: transform 0.3s ease; }
.faq-icon::before { transform: translate(-50%, -50%) rotate(0deg); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-question.active .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-answer p { padding: 0 1.5rem 1.5rem 1.5rem; line-height: 1.8; margin: 0; }
.faq-question.active + .faq-answer { padding-top: 0; }

/* ================== CONTACT SECTION ================== */
.contact { background: var(--gradient); color: var(--light-color); }
.contact .section-title, .contact .section-header p { color: white; }
.contact-form { max-width: 800px; margin: 0 auto; background: var(--light-color); padding: 3rem; border-radius: 12px; box-shadow: var(--shadow); }
.form-row { display: flex; gap: 1rem; margin-bottom: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; font-family: var(--font-family); }
.contact-form select, .contact-form textarea { margin-bottom: 1rem; }
.contact-form button { width: 100%; }

/* ================== FOOTER ================== */
.footer { background-color: var(--dark-color); color: #aaa; padding: 60px 0 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 40px; }
.footer-col h4 { color: white; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: #aaa; }
.social-links a { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; border-radius: 50%; background: #333; color: white; margin-right: 0.5rem; transition: background 0.3s; }
.social-links a:hover { background: var(--orange-1); }
.footer-bottom { border-top: 1px solid #333; padding: 20px 0; text-align: center; font-size: 0.9rem; }

/* ================== FLOATING SOCIAL CARD ================== */
.social-float-card { position: fixed; top: 50%; left: 0; transform: translateY(-50%); z-index: 997; }
.social-tab { position: absolute; left: 0; top: 50%; transform: translateY(-50%); background: var(--gradient); color: white; padding: 1rem; border-top-right-radius: 12px; border-bottom-right-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); cursor: pointer; font-size: 1.2rem; transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); }
.social-links-panel { background-color: var(--light-color); border: 1px solid var(--border-color); box-shadow: 0 4px 15px rgba(0,0,0,0.1); display: flex; flex-direction: column; padding: 1rem; border-top-right-radius: 12px; border-bottom-right-radius: 12px; transform: translateX(-100%); visibility: hidden; opacity: 0; transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); }
.social-float-card.open .social-links-panel { transform: translateX(0); visibility: visible; opacity: 1; }
.social-float-card.open .social-tab { transform: translateY(-50%) scale(0); opacity: 0; }
.social-links-panel a { font-size: 1.5rem; margin: 0.5rem 0; color: var(--text-color); transition: color 0.3s ease, transform 0.3s ease; }
.social-links-panel a:hover { color: var(--orange-1); transform: scale(1.1); }

/* ================== MODAL STYLES ================== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 1001; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { position: relative; background: var(--light-color); border-radius: 16px; padding: 2rem; width: 100%; max-width: 600px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); transform: scale(0.9); transition: all 0.4s ease; }
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-close-btn { position: absolute; top: 1rem; right: 1rem; background: var(--background-color); border: 1px solid var(--border-color); color: var(--text-color); width: 35px; height: 35px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all 0.3s ease; }
.modal-close-btn:hover { background: #e63946; color: var(--light-color); }
.modal-content .contact-form { padding: 0; box-shadow: none; }
.modal-content .section-header { margin-bottom: 2rem; }

/* ================== AI CHATBOT STYLES ================== */
.chat-bubble { position: fixed; bottom: 2rem; right: 2rem; width: 60px; height: 60px; background: var(--gradient); color: var(--light-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; cursor: pointer; box-shadow: 0 5px 20px rgba(0,0,0,0.2); z-index: 998; transition: transform 0.3s ease; animation: pulse 2s infinite; }
.chat-bubble:hover { transform: scale(1.1); animation-play-state: paused; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(253, 126, 20, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(253, 126, 20, 0); } 100% { box-shadow: 0 0 0 0 rgba(253, 126, 20, 0); } }
.chat-widget { position: fixed; bottom: 6rem; right: 2rem; width: 350px; max-width: 90vw; height: 500px; max-height: 80vh; background: var(--light-color); border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); z-index: 999; display: flex; flex-direction: column; overflow: hidden; transform: translateY(20px) scale(0.95); opacity: 0; visibility: hidden; transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); transform-origin: bottom right; }
.chat-widget.hidden { visibility: hidden; opacity: 0; }
.chat-widget:not(.hidden) { visibility: visible; transform: translateY(0) scale(1); opacity: 1; }
.chat-header { background: var(--gradient); color: white; padding: 1rem; display: flex; justify-content: space-between; align-items: center; }
.chat-title-status { display: flex; flex-direction: column; }
.chat-header h3 { color: white; margin: 0; font-size: 1.1rem; }
.chat-status { display: flex; align-items: center; gap: 5px; }
.status-dot { width: 8px; height: 8px; background-color: #2ecc71; border-radius: 50%; animation: status-pulse 2s infinite; }
@keyframes status-pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); } 70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }
.status-text { font-size: 0.8rem; color: rgba(255, 255, 255, 0.8); }
.chat-close-btn { background: none; border: none; color: white; font-size: 1.2rem; cursor: pointer; }
.chat-messages { flex-grow: 1; padding: 1rem; overflow-y: auto; }
.message { margin-bottom: 1rem; display: flex; flex-direction: column; max-width: 90%; }
.message p { padding: 0.75rem 1rem; border-radius: 12px; line-height: 1.5; }
.bot-message { align-self: flex-start; }
.bot-message p { background: var(--background-color); color: var(--dark-color); border-bottom-left-radius: 2px; }
.user-message { align-self: flex-end; margin-left: auto; }
.user-message p { background: var(--orange-1); color: white; border-bottom-right-radius: 2px; }
.chat-options { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.chat-option-btn { background: var(--light-color); border: 1px solid var(--border-color); color: var(--orange-1); padding: 8px 12px; border-radius: 50px; cursor: pointer; font-size: 0.9rem; font-weight: 600; transition: all 0.2s ease; }
.chat-option-btn:hover { background: var(--light-orange); }
.typing-indicator { display: flex; align-items: center; padding: 0.75rem 1rem; }
.typing-indicator span { width: 8px; height: 8px; margin: 0 2px; background: #ccc; border-radius: 50%; display: inline-block; animation: typing-blink 1.4s infinite both; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-blink { 0% { opacity: 0.2; } 20% { opacity: 1; } 100% { opacity: 0.2; } }
.chat-input-area { border-top: 1px solid var(--border-color); }
#chat-form { display: flex; }
#chat-input { flex-grow: 1; border: none; padding: 1rem; font-size: 1rem; font-family: var(--font-family); }
#chat-input:focus { outline: none; }
#chat-form button { background: none; border: none; font-size: 1.2rem; padding: 1rem; cursor: pointer; color: var(--orange-1); transition: color 0.2s; }
#chat-form button:hover { color: var(--orange-2); }

/* ================== RESPONSIVE DESIGN ================== */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    .testimonial-card { flex: 0 0 100%; max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-blob { width: 300px; height: 300px; top: -50px; right: -80px; }
    .hero-blob-2 { width: 250px; height: 250px; top: -20px; left: -100px; }
}
@media (max-width: 768px) {
    .section-title { font-size: 2.2rem; }
    .hero-title { font-size: 2.8rem; }
    .stats-card-content { flex-direction: column; gap: 2rem; padding: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-item { width: 300px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .process-timeline-wrapper { padding-left: 0; }
    .timeline-line { left: 25px; }
    .timeline-item { padding-left: 70px; }
    .form-row { flex-direction: column; }
    .social-float-card { display: none; }
    .chat-widget { bottom: 5rem; right: 1rem; }
    .hero-waves { height: 70px; min-height: 70px; }
    .hero-blob, .hero-blob-2, .hero-coding-elements { display: none; }
}