:root { --primary-color: #2a29ff; --white-color: #ffffff; --background-color: #f0f2f5; --text-color: #1a1a1a; --glass-effect: rgba(255, 255, 255, 0.5); }
* { margin: 0; padding: 0; box-sizing: border-box; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLinks { to { opacity: 1; transform: translateY(0); } }
body { font-family: 'Poppins', sans-serif; background-color: var(--background-color); color: var(--text-color); }
html { scroll-behavior: smooth; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

main > section { width: 100%; display: flex; align-items: center; justify-content: center; position: relative; padding: 120px 0; overflow: hidden; }
#hero { min-height: 100vh; }

.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 30px 0; transition: all 0.4s ease; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 70px; transition: height 0.4s ease; }
.main-nav { display: block; }
.main-nav ul { list-style: none; display: flex; gap: 35px; }
.main-nav a { text-decoration: none; color: var(--text-color); font-weight: 500; position: relative; transition: color 0.3s ease; }
.main-nav a:hover { color: var(--primary-color); }
.main-nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 50%; transform: translateX(-50%); background-color: var(--primary-color); transition: width 0.3s ease; }
.main-nav a:hover::after { width: 100%; }
.mobile-nav-trigger { display: none; background: none; border: none; cursor: pointer; color: var(--text-color); transition: color 0.3s ease; }
.mobile-nav-trigger:hover { color: var(--primary-color); }

.main-header.scrolled { padding: 15px 0; background: var(--glass-effect); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.main-header.scrolled .logo img { height: 45px; }

.nav-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 3000; background: rgba(10, 10, 15, 0.7); backdrop-filter: blur(12px) saturate(180%); -webkit-backdrop-filter: blur(12px) saturate(180%); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.nav-modal.is-open { opacity: 1; pointer-events: auto; }
.nav-modal-content { background: rgba(255, 255, 255, 0.9); border-radius: 20px; width: 90%; max-width: 600px; padding: 20px; border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 15px 50px rgba(0,0,0,0.2); transform: scale(0.95); transition: transform 0.4s ease; }
.nav-modal.is-open .nav-modal-content { transform: scale(1); }
.nav-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 0 10px 20px; border-bottom: 1px solid rgba(0,0,0,0.1); }
.modal-logo-link img { height: 40px; }
.nav-modal-close { background: none; border: none; font-size: 2.5rem; color: #888; cursor: pointer; font-weight: 300; line-height: 1; }
.nav-modal-links ul { list-style: none; padding: 20px 0; }
.nav-modal-links a { display: block; padding: 15px 20px; text-decoration: none; color: #333; font-size: 1.5rem; font-weight: 500; border-radius: 10px; transition: background-color 0.3s ease, color 0.3s ease; display: flex; align-items: center; gap: 15px; }
.nav-modal-links a:hover { background-color: var(--primary-color); color: var(--white-color); }
.nav-modal-links a span { font-size: 1rem; font-weight: 400; color: var(--primary-color); transition: color 0.3s ease; }
.nav-modal-links a:hover span { color: rgba(255, 255, 255, 0.7); }
.nav-modal-footer { padding: 20px 10px 0; border-top: 1px solid rgba(0,0,0,0.1); text-align: center; font-weight: 300; color: #555; }

.hero-section { text-align: center; }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-title { font-size: 4rem; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hero-title .highlight { color: var(--primary-color); }
.hero-subtitle { font-size: 1.125rem; max-width: 600px; margin: 0 auto 40px; font-weight: 300; }
.btn-primary { background-color: var(--primary-color); color: var(--white-color); padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 500; transition: transform 0.3s ease, box-shadow 0.3s ease; display: inline-block; border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(42, 41, 255, 0.3); }

@keyframes gradient-animation { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.background-shapes { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background: linear-gradient(-45deg, #e0e0e0, var(--primary-color), #e0e0e0, var(--background-color)); background-size: 400% 400%; animation: gradient-animation 15s ease infinite; opacity: 0.1; }

.section-title { font-size: 3rem; text-align: center; margin-bottom: 60px; font-weight: 700; }
.section-title .highlight { color: var(--primary-color); }

.services-section { background-color: #e8eaf6; }
.services-interactive-container { max-width: 1000px; margin: 0 auto; }
.services-grid-interactive { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; margin-bottom: 50px; }
.service-trigger { background: transparent; border: none; border-radius: 15px; padding: 20px; cursor: pointer; text-align: center; font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 500; color: #444; transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.service-trigger-icon { width: 65px; height: 65px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.service-trigger-icon svg { color: var(--primary-color); transition: all 0.3s ease; }
.service-trigger span { transition: color 0.3s ease; }
.service-trigger:hover .service-trigger-icon { transform: translateY(-5px); background: var(--primary-color); box-shadow: 0 10px 25px rgba(42, 41, 255, 0.2); }
.service-trigger:hover .service-trigger-icon svg { color: #fff; }
.service-trigger:hover span { color: var(--primary-color); }
.service-trigger.active { color: var(--primary-color); font-weight: 700; }
.service-trigger.active .service-trigger-icon { transform: translateY(-5px); background: var(--primary-color); box-shadow: 0 10px 25px rgba(42, 41, 255, 0.2); }
.service-trigger.active .service-trigger-icon svg { color: #fff; }
.service-display-area { background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); min-height: 300px; }
.service-display-content { display: none; animation: fadeIn 0.6s ease; }
.service-display-content.visible { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: center; }
.service-display-image img { width: 100%; height: auto; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.service-display-text h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--text-color); }
.service-display-text p { font-size: 1rem; line-height: 1.8; font-weight: 300; }

.projects-section { background-color: #111319; color: var(--white-color); }
.projects-section .section-title { color: var(--white-color); }
.projects-gallery-container { width: 100%; padding-bottom: 20px; }
.projects-gallery { display: flex; gap: 30px; overflow-x: auto; padding: 20px 5%; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--primary-color) #1f222e; }
.projects-gallery::-webkit-scrollbar { height: 8px; }
.projects-gallery::-webkit-scrollbar-track { background: #1f222e; border-radius: 10px; }
.projects-gallery::-webkit-scrollbar-thumb { background-color: var(--primary-color); border-radius: 10px; }
.project-item { flex: 0 0 320px; height: 450px; border-radius: 20px; overflow: hidden; position: relative; scroll-snap-align: start; transition: transform 0.4s ease; }
.project-item:hover { transform: scale(1.03); }
.project-bg-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-item:hover .project-bg-image { transform: scale(1.1); }
.project-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8) 20%, transparent 60%); }
.project-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 25px; color: var(--white-color); display: flex; flex-direction: column; align-items: flex-start; }
.project-tags { display: flex; gap: 8px; margin-bottom: 10px; }
.project-tags span { background-color: rgba(42, 41, 255, 0.8); backdrop-filter: blur(5px); padding: 5px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 500; }
.project-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; }
.project-link { color: var(--white-color); text-decoration: none; font-weight: 500; transition: transform 0.3s ease; }
.project-link:hover { color: var(--primary-color); transform: translateX(5px); }

.about-section { background-color: var(--background-color); }
.team-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 900px; margin: 0 auto; }
.team-member { background: #fff; padding: 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.team-member h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: 5px; }
.team-member h4 { font-size: 1rem; font-weight: 500; color: var(--primary-color); margin-bottom: 15px; }
.team-member p { font-weight: 300; line-height: 1.8; }
.team-member-socials { margin-top: 20px; padding-top: 20px; border-top: 1px solid #eee; display: flex; gap: 15px; }
.team-member-socials a { color: #888; transition: color 0.3s ease, transform 0.3s ease; }
.team-member-socials a:hover { color: var(--primary-color); transform: translateY(-3px); }

.contact-section { background-color: #e8eaf6; }
.contact-wrapper { background: var(--white-color); padding: 60px; border-radius: 20px; box-shadow: 0 16px 50px rgba(0,0,0,0.1); max-width: 800px; margin: 0 auto; }
.contact-info-centered { text-align: center; }
.contact-info-centered h3 { font-size: 2rem; margin-bottom: 20px; }
.contact-info-centered p { font-weight: 300; line-height: 1.7; margin-bottom: 40px; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; padding: 18px 40px; }

.main-footer { background-color: #111319; color: rgba(255, 255, 255, 0.7); padding: 60px 0 0; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo p { margin-top: 15px; max-width: 300px; font-weight: 300; line-height: 1.6; }
.footer-logo img { height: 40px; }
.footer-links h4, .footer-social h4 { color: var(--white-color); font-weight: 500; margin-bottom: 20px; font-size: 1.1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-bottom p { text-decoration: none; color: rgba(255, 255, 255, 0.7); transition: color 0.3s ease; font-weight: 300; }
.footer-links a:hover { color: var(--primary-color); }
.footer-social { display: flex; flex-direction: column; }
.footer-social div { display: flex; gap: 15px; }
.footer-social a svg { color: rgba(255, 255, 255, 0.7); transition: color 0.3s ease, transform 0.3s ease; }
.footer-social a:hover svg { color: var(--primary-color); transform: translateY(-3px); }
.footer-bottom { padding: 20px 0; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom p { font-size: 0.9rem; }

.whatsapp-fab { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.2); z-index: 1000; transition: transform 0.3s ease; }
.whatsapp-fab svg { color: #fff; width: 32px; height: 32px; }
.whatsapp-fab:hover { transform: scale(1.1); }

.service-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(17, 19, 25, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.service-modal.is-open { display: flex; opacity: 1; pointer-events: auto; }
.service-modal-content { background: #fff; border-radius: 20px; padding: 30px; width: 100%; max-width: 500px; position: relative; transform: scale(0.95); transition: transform 0.4s ease; }
.service-modal.is-open .service-modal-content { transform: scale(1); }
.service-modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 2.5rem; font-weight: 300; color: #888; cursor: pointer; line-height: 1; }

.hero-title, .hero-subtitle, .btn-primary, .section-title, .team-container, .projects-gallery, .contact-wrapper, .services-interactive-container { opacity: 0; transform: translateY(30px); }
.hero-title.visible, .hero-subtitle.visible, .btn-primary.visible, .section-title.visible, .team-container.visible, .projects-gallery.visible, .contact-wrapper.visible, .services-interactive-container.visible { opacity: 1; transform: translateY(0); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.hero-subtitle.visible { transition-delay: 0.2s; }
.btn-primary.visible { transition-delay: 0.4s; }
.services-interactive-container.visible { transition-delay: 0.4s; }
.projects-gallery.visible { transition-delay: 0.4s; }
.team-container.visible { transition-delay: 0.2s; }
.contact-wrapper.visible { transition-delay: 0.2s; }

@media (max-width: 1200px) { .hero-title { font-size: 3.5rem; } .project-item { flex-basis: 280px; height: 420px; } }
@media (max-width: 992px) {
    .main-nav { display: none; }
    .mobile-nav-trigger { display: block; }
    .main-header { padding: 15px 0; background: var(--glass-effect); backdrop-filter: blur(10px); }
    .main-header .logo img { height: 45px; }
    .section-title { font-size: 2.5rem; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-logo p, .footer-social, .footer-links { margin: 0 auto; align-items: center; }
    .footer-social div { justify-content: center; }
    .contact-wrapper { padding: 40px; }
    .service-display-content.visible { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    main > section { padding: 120px 20px 60px; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .services-grid-interactive { grid-template-columns: repeat(2, 1fr); }
    .team-container { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 2rem; margin-bottom: 40px; }
    .service-trigger { padding: 15px 10px; font-size: 0.9rem; }
    .service-trigger-icon { width: 60px; height: 60px; }
    .service-display-area { display: none; }
    .project-item { flex-basis: 260px; height: 400px; }
    .contact-wrapper { padding: 30px 20px; }
    .whatsapp-fab { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .whatsapp-fab svg { width: 28px; height: 28px; }
}