:root {
    --primary-color: #6C63FF;
    --secondary-color: #FF6584;
    --dark-bg: #1A1A2E;
    --light-bg: #F5F5F5;
    --text-dark: #162447;
    --text-light: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s;
}

.hexagon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: rotate 2s linear infinite;
}

.header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.hero {
    padding: 150px 5% 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(45deg, var(--dark-bg), #16213E);
    color: var(--text-light);
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(10deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(var(--primary-color), transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

/* 3D Effects */
.globe {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 30% 30%, var(--primary-color), #4B4453);
    border-radius: 50%;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.globe::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="white" stroke-width="0.5" fill="transparent"/></svg>');
    transform: rotateX(70deg);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-content: center;
    padding: 1rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.logo {
    justify-self: center;
    padding:1rem;
    font-size: 2rem;
    font-weight: 700;
}

.tech {
    color: var(--primary-color);
}

.nova {
    color: var(--secondary-color);
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    transform-style: preserve-3d;
    position: relative;
    cursor: pointer;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Projects Section */
.projects {
    padding: 5rem 5%;
    background: var(--light-bg);
    color: var(--text-dark);
}

.project-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 2rem;
}

.project-card {
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
}

.project-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: var(--dark-bg);
    color:var(--light-bg);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Add these animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card.show {
    animation: slideUp 0.6s ease forwards;
}

.project-card.show {
    animation: slideUp 0.6s ease forwards;
}

/* Enhance hover effects */
.service-card:hover {
    transform: translateY(-10px) rotateX(10deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.service-card:hover i {
    color: var(--secondary-color);
}

.about{
    padding: 5rem 5%;
    background: var(--dark-bg);
    color: var(--text-light);
}