/* Common styles */
:root {
    --primary-color: rgb(0, 190, 173);
    --white-color: #ffffff;
    --dark-color: #333333;
    --light-gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--white-color);
    color: var(--dark-color);
    overflow: hidden;
}

/* Splash Screen Styles */
.splash-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(135deg, #e6fff9 0%, #d1fff8 25%, #bef7f0 50%, #a9eee7 75%, #98e5dd 100%);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    perspective: 1000px;
    position: relative;
    overflow: hidden;
}

.splash-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 190, 173, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 190, 173, 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: pulseRadial 10s infinite alternate;
}

.splash-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(0, 190, 173, 0.05)" stroke-width="1"/></svg>');
    background-size: 30px 30px;
    z-index: 0;
    opacity: 0.5;
    animation: backgroundAnimation 60s linear infinite;
}

@keyframes backgroundAnimation {
    0% { background-position: 0 0; }
    100% { background-position: 500px 500px; }
}

/* Logo styles with frame instead of rotation */
.logo-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    perspective: 1000px;
    margin-bottom: 20px;
    border-radius: 50%;
}

.logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(0, 190, 173, 0.3),
                0 0 50px rgba(0, 190, 173, 0.2);
    animation: logoPulse 3s infinite;
    position: relative;
    z-index: 2;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 190, 173, 0.2) 0%, rgba(0, 190, 173, 0.4) 50%, rgba(0, 190, 173, 0.2) 100%);
    z-index: 1;
    animation: frameRotate 8s linear infinite;
}

.logo-wrapper::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.8) 100%);
    z-index: 0;
    animation: frameRotate 6s linear infinite reverse;
}

.logo-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 60px 20px rgba(0, 190, 173, 0.4);
    animation: glowPulse 3s infinite alternate;
    z-index: -1;
    opacity: 0.7;
}

@keyframes frameRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
        box-shadow: 0 0 30px 10px rgba(0, 190, 173, 0.2);
    }
    100% {
        opacity: 0.8;
        box-shadow: 0 0 80px 30px rgba(0, 190, 173, 0.5);
    }
}

/* Logo container animation */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
    animation: logoFloat 5s infinite ease-in-out;
}

.slogan {
    margin-top: 30px;
    position: relative;
    transform: translateZ(30px);
    text-align: center;
    animation: sloganFloat 4s infinite ease-in-out;
}

.slogan-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 10px rgba(0, 190, 173, 0.2);
    animation: fadeInUp 1s ease-out 0.5s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.slogan-text::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -10px;
    left: 0;
    background-color: var(--primary-color);
    animation: lineExpand 2s ease-out 1.5s forwards;
}

/* Dots container styling */
.dots-container {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 80px;
    z-index: 10;
    animation: floatUpDown 4s ease-in-out infinite;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 8px;
    animation: dotPulse 1.5s ease-in-out infinite;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 190, 173, 0.8);
}

.dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: dotGlow 1.5s ease-in-out infinite;
    filter: blur(5px);
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(1)::after {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.5s;
}

.dot:nth-child(2)::after {
    animation-delay: 0.5s;
}

.dot:nth-child(3) {
    animation-delay: 1s;
}

.dot:nth-child(3)::after {
    animation-delay: 1s;
}

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

/* Home Page Styles */
.home-page {
    overflow-y: auto;
    overflow-x: hidden;
}

header {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.header-logo {
    width: 80px;
    height: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

/* Enhanced Hero Section with Phone Frame */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-color);
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgb(0, 170, 153) 0%, 
        rgb(0, 190, 173) 50%, 
        rgb(0, 170, 153) 100%);
    z-index: 0;
}

.phones-showcase {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 1000px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.phone-container {
    position: relative;
}

.main-phone {
    width: 280px;
    height: 580px;
    z-index: 3;
    transform: translateZ(40px);
    left: 100px;
    position: absolute;
}

.secondary-phone {
    position: absolute;
    width: 200px;
    height: 420px;
    z-index: 1;
}

.top-phone {
    top: -150px;
    left: 500px;
    transform: translateZ(-30px) rotate(15deg);
}

.bottom-phone {
    bottom: -100px;
    left: 750px;
    transform: translateZ(-30px) rotate(-15deg);
}

.phone-frame {
    width: 100%;
    height: 100%;
    background-color: #222;
    border-radius: 36px;
    position: relative;
    padding: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 0, 0, 0.2) inset;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
}

.main-phone .phone-frame {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 0, 0, 0.3) inset;
}

.secondary-phone .phone-frame {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 0 8px rgba(0, 0, 0, 0.15) inset;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background-color: #222;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.secondary-phone .phone-frame::before {
    width: 90px;
    height: 20px;
}

.phone-content {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    object-fit: cover;
    border-radius: 26px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
    perspective: 1000px;
    transform-style: preserve-3d;
    margin-left: auto;
    margin-right: 5%;
    text-align: left;
}

/* Phone animations */
.main-phone {
    animation: float-main 6s ease-in-out infinite;
}

.top-phone {
    animation: float-top 5s ease-in-out infinite;
}

.bottom-phone {
    animation: float-bottom 7s ease-in-out infinite;
}

@keyframes float-main {
    0%, 100% {
        transform: translateZ(40px) translateY(0);
    }
    50% {
        transform: translateZ(40px) translateY(-15px);
    }
}

@keyframes float-top {
    0%, 100% {
        transform: translateZ(0) rotate(15deg) translateY(0);
    }
    50% {
        transform: translateZ(0) rotate(15deg) translateY(-10px);
    }
}

@keyframes float-bottom {
    0%, 100% {
        transform: translateZ(0) rotate(-15deg) translateY(0);
    }
    50% {
        transform: translateZ(0) rotate(-15deg) translateY(10px);
    }
}

/* Mobile responsiveness for phones showcase */
@media (max-width: 1400px) {
    .phones-showcase {
        width: 900px;
    }

    .main-phone {
        width: 240px;
        height: 500px;
        left: 80px;
    }

    .secondary-phone {
        width: 170px;
        height: 350px;
    }

    .top-phone {
        top: -120px;
        left: 430px;
    }

    .bottom-phone {
        bottom: -80px;
        left: 650px;
    }
    
    .hero-content {
        margin-right: 5%;
    }
}

@media (max-width: 1200px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        padding-top: 50px;
        padding-bottom: 50px;
        height: auto;
        min-height: 100vh;
    }
    
    .phones-showcase {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-bottom: 50px;
        width: 100%;
        height: 500px;
        max-width: 800px;
    }
    
    .main-phone {
        width: 220px;
        height: 460px;
        margin: 0 auto;
        left: 0;
        right: 0;
    }
    
    .secondary-phone {
        width: 160px;
        height: 330px;
    }
    
    .top-phone {
        top: 40px;
        left: 20px;
    }
    
    .bottom-phone {
        top: 40px;
        right: 20px;
        left: auto;
    }
    
    .hero-content {
        margin: 0 auto;
        text-align: center;
        max-width: 800px;
    }
    
    .cta-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .phones-showcase {
        height: 400px;
    }
    
    .main-phone {
        width: 180px;
        height: 380px;
    }
    
    .secondary-phone {
        width: 140px;
        height: 290px;
    }
    
    .top-phone {
        top: 30px;
        left: 10px;
    }
    
    .bottom-phone {
        top: 30px;
        right: 10px;
    }
    
    .cta-container {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .phones-showcase {
        height: 350px;
    }
    
    .main-phone {
        width: 140px;
        height: 300px;
    }
    
    .secondary-phone {
        width: 110px;
        height: 230px;
    }
    
    .phone-frame::before {
        width: 60px;
        height: 15px;
    }
    
    .secondary-phone .phone-frame::before {
        width: 50px;
        height: 12px;
    }
    
    .mouse {
        display: none;
    }
}

/* Animations */
@keyframes float {
    0% { 
        transform: translateY(0) translateX(0) rotate(0deg); 
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
    }
    50% { 
        transform: translateY(-40px) translateX(0) rotate(180deg); 
    }
    75% {
        transform: translateY(-20px) translateX(-10px) rotate(270deg);
    }
    100% { 
        transform: translateY(0) translateX(0) rotate(360deg); 
    }
}

@keyframes rotateY {
    0% { transform: rotateY(0deg); }
    25% { transform: rotateY(5deg); }
    50% { transform: rotateY(0deg); }
    75% { transform: rotateY(-5deg); }
    100% { transform: rotateY(0deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 15px 35px rgba(0, 190, 173, 0.3); }
    50% { box-shadow: 0 15px 35px rgba(0, 190, 173, 0.5), 0 0 30px rgba(0, 190, 173, 0.3); }
    100% { box-shadow: 0 15px 35px rgba(0, 190, 173, 0.3); }
}

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

@keyframes lineExpand {
    to {
        width: 100%;
    }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes dotPulse {
    0% { 
        transform: scale(1); 
        opacity: 0.7; 
        background-color: var(--primary-color);
    }
    50% { 
        transform: scale(1.4); 
        opacity: 1; 
        background-color: rgba(0, 220, 200, 1);
    }
    100% { 
        transform: scale(1); 
        opacity: 0.7; 
        background-color: var(--primary-color);
    }
}

@keyframes dotGlow {
    0% { 
        opacity: 0.5; 
        transform: translate(-50%, -50%) scale(1);
        filter: blur(5px);
    }
    50% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(3);
        filter: blur(8px);
    }
    100% { 
        opacity: 0.5; 
        transform: translate(-50%, -50%) scale(1);
        filter: blur(5px);
    }
}

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

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 15px 35px rgba(0, 190, 173, 0.3), 0 0 50px rgba(0, 190, 173, 0.2); }
    50% { box-shadow: 0 15px 35px rgba(0, 190, 173, 0.5), 0 0 70px rgba(0, 190, 173, 0.4); }
}

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

/* Particles styling */
.particle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(0, 190, 173, 0.3);
    pointer-events: none;
    z-index: 1;
}

.particle:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.5);
}

.particle:nth-child(3n) {
    filter: blur(2px);
}

.particle:nth-child(3n+1) {
    filter: blur(1px);
}

/* Responsive design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .logo {
        width: 150px;
    }
    
    .logo-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .slogan-text {
        font-size: 18px;
    }
    
    .splash-container::after {
        background-size: 15px 15px;
    }
    
    .particle:nth-child(n+16) {
        display: none;
    }
    
    .logo-wrapper::before, 
    .logo-wrapper::after {
        animation-duration: 12s;
    }
    
    .logo-glow {
        box-shadow: 0 0 30px 10px rgba(0, 190, 173, 0.4);
    }
    
    .floating-element {
        display: none;
    }
    
    .floating-element:nth-child(-n+3) {
        display: block;
    }
    
    .dot {
        width: 8px;
        height: 8px;
        margin: 0 6px;
    }
    
    .dot::after {
        width: 8px;
        height: 8px;
    }
}

/* Small mobile optimization */
@media (max-width: 480px) {
    .logo-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .slogan-text {
        font-size: 16px;
    }
    
    .floating-element {
        display: none;
    }
    
    .ribbon {
        height: 60px;
    }
    
    .splash-container::before,
    .splash-container::after {
        opacity: 0.3;
    }
    
    @keyframes dotGlow {
        0%, 100% { 
            opacity: 0.5;
            transform: translate(-50%, -50%) scale(1);
            filter: blur(3px);
        }
        50% { 
            opacity: 1;
            transform: translate(-50%, -50%) scale(2);
            filter: blur(5px);
        }
    }
}

/* Performance optimizations for all devices */
.particle, .floating-element, .ribbon {
    will-change: transform, opacity;
}

.logo-wrapper, .logo, .slogan, .dot {
    will-change: transform;
}

/* Reduce animations when device reports preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .logo-wrapper::before,
    .logo-wrapper::after,
    .ribbon,
    .particle,
    .floating-element {
        animation: none !important;
    }
    
    .splash-container {
        animation: none !important;
        background: linear-gradient(135deg, #e6fff9 0%, #98e5dd 100%) !important;
    }
    
    .logo-container,
    .dots-container {
        animation: none !important;
    }
    
    .logo {
        animation: none !important;
        box-shadow: 0 10px 20px rgba(0, 190, 173, 0.3) !important;
    }
    
    .logo-glow {
        animation: none !important;
        opacity: 0.5 !important;
    }
    
    .dot {
        animation: none !important;
    }
    
    .dot::after {
        animation: none !important;
        filter: blur(3px) !important;
    }
}

/* 3D Floating Elements */
.floating-element {
    position: absolute;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    pointer-events: none;
    z-index: 1;
}

.cube {
    background-color: rgba(0, 190, 173, 0.1);
    border: 1px solid rgba(0, 190, 173, 0.2);
    box-shadow: 0 0 20px rgba(0, 190, 173, 0.1);
}

.pyramid {
    width: 0 !important;
    height: 0 !important;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 50px solid rgba(0, 190, 173, 0.1);
    filter: drop-shadow(0 0 20px rgba(0, 190, 173, 0.1));
}

.cylinder {
    background-color: rgba(0, 190, 173, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(0, 190, 173, 0.2);
    box-shadow: 0 0 20px rgba(0, 190, 173, 0.1);
}

.ring {
    border-radius: 50%;
    border: 8px solid rgba(0, 190, 173, 0.2);
    background-color: transparent !important;
    box-shadow: 0 0 20px rgba(0, 190, 173, 0.1);
}

/* Ribbon Effect */
.ribbon {
    position: absolute;
    width: 100%;
    height: 100px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 190, 173, 0.05) 25%, 
        rgba(0, 190, 173, 0.1) 50%, 
        rgba(0, 190, 173, 0.05) 75%, 
        transparent 100%);
    z-index: 1;
    animation: ribbonWave 10s linear infinite;
    opacity: 0.5;
}

@keyframes ribbonWave {
    0% {
        transform: translateY(-50%) rotate(0deg) scaleY(0.5);
    }
    50% {
        transform: translateY(-50%) rotate(3deg) scaleY(0.7);
    }
    100% {
        transform: translateY(-50%) rotate(0deg) scaleY(0.5);
    }
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate3d(1, 1, 1, 0deg);
        opacity: 0.2;
    }
    25% {
        transform: translateY(-100px) translateX(50px) rotate3d(1, 1, 1, 90deg);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-150px) translateX(0) rotate3d(1, 1, 1, 180deg);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-100px) translateX(-50px) rotate3d(1, 1, 1, 270deg);
        opacity: 0.4;
    }
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.feature {
    flex: 1;
    max-width: 350px;
    padding: 30px;
    margin: 0 15px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 190, 173, 0.1);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.feature h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature p {
    color: #666;
    line-height: 1.6;
}

footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 20px;
}

/* Hero text styling */
.hero-3d-container {
    transform-style: preserve-3d;
    animation: float-hero 6s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    perspective: 1000px;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    animation: title-fade-in 0.8s forwards;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.title-word:nth-child(1) { animation-delay: 0.1s; }
.title-word:nth-child(2) { animation-delay: 0.3s; }
.title-word:nth-child(3) { animation-delay: 0.5s; }
.title-word:nth-child(4) { animation-delay: 0.7s; }
.title-word:nth-child(5) { animation-delay: 0.9s; }

.title-word.highlight {
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(90deg, #00ffcc, #00ccff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.title-word.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #00ffcc, #00ccff);
    box-shadow: 0 0 10px rgba(0, 190, 173, 0.8);
    animation: line-expand 0.5s 1.2s forwards;
    border-radius: 2px;
}

.cta-container {
    margin-top: 40px;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-up 0.8s 1.4s forwards;
}

.cta-button {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.cta-button:hover::before {
    width: 100%;
}

.cta-button.primary {
    background: var(--primary-color);
    color: var(--white-color);
}

.cta-button.secondary {
    background: transparent;
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white-color);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 6px;
    height: 10px;
    background: var(--white-color);
    border-radius: 3px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouse-wheel 1.5s infinite;
}

.arrow-scroll-down {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.arrow-scroll-down span {
    display: block;
    width: 12px;
    height: 12px;
    border-bottom: 2px solid var(--white-color);
    border-right: 2px solid var(--white-color);
    transform: rotate(45deg);
}

/* Quick Snapshot Section */
.quick-snapshot {
    background: var(--white-color);
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

.section-subtitle {
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.snapshot-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.snapshot-item {
    background: var(--white-color);
    border-radius: 10px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.snapshot-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 190, 173, 0.05) 0%, rgba(0, 190, 173, 0.02) 100%);
    z-index: -1;
    transition: all 0.3s ease;
}

.snapshot-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 190, 173, 0.1);
}

.snapshot-item:hover::before {
    background: linear-gradient(135deg, rgba(0, 190, 173, 0.1) 0%, rgba(0, 190, 173, 0.05) 100%);
}

.snapshot-icon-container {
    background: var(--primary-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 190, 173, 0.3);
    transition: all 0.3s ease;
}

.snapshot-item:hover .snapshot-icon-container {
    transform: rotateY(360deg);
    box-shadow: 0 5px 25px rgba(0, 190, 173, 0.5);
}

.snapshot-icon-container i {
    font-size: 28px;
    color: var(--white-color);
}

.snapshot-item h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.snapshot-item p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Hero 3D animations */
@keyframes float-hero {
    0%, 100% {
        transform: translateZ(0) translateY(0);
    }
    50% {
        transform: translateZ(30px) translateY(-10px);
    }
}

@keyframes title-fade-in {
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes line-expand {
    to {
        width: 100%;
    }
}

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

@keyframes mouse-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@media (max-width: 992px) {
    .snapshot-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .snapshot-container {
        grid-template-columns: 1fr;
    }
}

/* Project Types Section */
.project-types {
    background: var(--white-color);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    color: var(--dark-color);
}

.project-types::before {
    display: none;
}

.project-types .section-title,
.project-types .section-subtitle {
    position: relative;
    z-index: 2;
    color: var(--dark-color);
}

.project-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 50px auto 0;
    position: relative;
    z-index: 2;
}

.project-item {
    background: var(--white-color);
    border-radius: 12px;
    padding: 25px 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: var(--dark-color);
    border: 1px solid #eee;
}

.project-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    z-index: -1;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 190, 173, 0.1);
}

.project-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.project-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.project-icon-container i {
    font-size: 32px;
    color: white;
}

.project-item:hover .project-icon-container {
    transform: scale(1.1);
}

.project-item h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.project-item:hover h3 {
    color: var(--primary-color);
}

/* Project icon colors */
.transportation {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
}

.health {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    box-shadow: 0 5px 15px rgba(245, 87, 108, 0.3);
}

.ambulance {
    background: linear-gradient(135deg, #ff5e62 0%, #ff9966 100%);
    box-shadow: 0 5px 15px rgba(255, 94, 98, 0.3);
}

.plantation {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
    box-shadow: 0 5px 15px rgba(86, 171, 47, 0.3);
}

.gaming {
    background: linear-gradient(135deg, #9733ee 0%, #da22ff 100%);
    box-shadow: 0 5px 15px rgba(151, 51, 238, 0.3);
}

.other {
    background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

/* Project Form */
.project-form-container {
    background: #f8f9fa;
    padding: 60px 20px;
    position: relative;
    z-index: 5;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white-color);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-wrapper h2 {
    color: var(--dark-color);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.form-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 190, 173, 0.1);
    outline: none;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.submit-button,
.cancel-button {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button {
    background: var(--primary-color);
    color: white;
    border: none;
    flex: 1;
    margin-left: 10px;
}

.cancel-button {
    background: #f1f1f1;
    color: #666;
    border: 1px solid #ddd;
    flex: 1;
    margin-right: 10px;
}

.submit-button:hover {
    background: #00a897;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 190, 173, 0.2);
}

.cancel-button:hover {
    background: #e5e5e5;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .project-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .form-wrapper {
        padding: 30px 20px;
    }
    
    .form-buttons {
        flex-direction: column-reverse;
    }
    
    .submit-button,
    .cancel-button {
        width: 100%;
        margin: 5px 0;
    }
}

/* Simulator Button Styles */
.simulator-link {
    text-decoration: none;
    display: block;
    margin-top: 10px;
}

.simulator-button {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.simulator-button i {
    margin-right: 8px;
}

.simulator-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #5d63d0, #9c9ff9);
}

/* End Simulator Button Styles */ 