:root {
    --primary-color: #6a05ad; /* Deep Purple */
    --secondary-color: #4a007a; /* Darker Purple */
    --accent-color: #00bcd4; /* Cyan for highlights */
    --text-color: #e0e0e0;
    --bg-color: #1a1a2e;
    --card-bg: #2a2a4a;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-inter: 'Inter', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
    --font-space-grotesk: 'Space Grotesk', sans-serif;
    --transition-speed: 0.3s ease-out;
}

body {
    margin: 0;
    font-family: var(--font-poppins);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-space-grotesk);
    color: var(--primary-color);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: #00e5ff;
}

.cta-button {
    display: inline-block;
    background-image: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    margin-top: 2rem;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Header */
header {
    background-color: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-space-grotesk);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

nav ul li {
    margin-left: 2.5rem;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    background: radial-gradient(circle at top left, #3a0050, transparent 50%),
                radial-gradient(circle at bottom right, #001f3f, transparent 50%),
                var(--bg-color);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    animation: slideInUp 1s ease-out forwards;
    opacity: 0;
}

.hero .tagline {
    font-family: var(--font-inter);
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

/* Animations */
@keyframes slideInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Sections */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

section h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 4px;
    background-color: var(--accent-color);
    left: 15%;
    bottom: -10px;
    border-radius: 2px;
}

/* Services Section */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: left;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Team Section */
.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.member {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.member:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--accent-color);
}

.member h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.member p {
    font-size: 0.95rem;
    color: #b0b0b0;
}

/* Contact Section */
.contact form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.contact input,
.contact textarea {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.contact input:focus,
.contact textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.3);
}

.contact textarea {
    min-height: 150px;
    resize: vertical;
}

.contact .cta-button {
    align-self: flex-start;
    margin-top: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem;
    background-color: var(--secondary-color);
    color: #c0c0c0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    nav {
        justify-content: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .tagline {
        font-size: 1.2rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    section h2 {
        font-size: 2.5rem;
    }

    .service-cards, .team-members {
        grid-template-columns: 1fr;
    }

    .card, .member, .contact form {
        padding: 1.5rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
    }
}
