/* Basic Reset & Body Styles */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom right, #1a202c, #4a0e4e, #1a202c); /* Dark gradient background */
    color: #e2e8f0; /* Light gray text */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    width: 100%;
    background-color: rgba(26, 32, 44, 0.95); /* Semi-transparent dark slate */
    backdrop-filter: blur(5px);
    z-index: 50;
    border-bottom: 1px solid rgba(128, 90, 213, 0.2); /* Purple border */
    height: 4rem; /* h-16 */
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: flex-start; /* Align to left */
    align-items: center;
    gap: 2rem; /* Add some space between logo and nav links */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* space-x-2 */
}

.logo-icon {
    width: 2.5rem; /* w-10 */
    height: 2.5rem; /* h-10 */
    background: linear-gradient(to bottom right, #805ad5, #d53f8c); /* Purple-pink gradient */
    border-radius: 0.5rem; /* rounded-lg */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem; /* text-xl */
}

.logo-text {
    font-size: 1.5rem; /* text-2xl */
    font-weight: bold;
    background: linear-gradient(to right, #a78bfa, #f687b3); /* Purple-pink gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: none; /* Hidden on small screens */
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem; /* space-x-8 */
}

.nav-links li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #a78bfa; /* Purple-400 */
}

.menu-toggle {
    background: none;
    border: none;
    color: #e2e8f0;
    cursor: pointer;
    display: block; /* Visible on small screens */
}

/* Mobile Menu */
.mobile-menu {
    display: none; /* Hidden by default, controlled by JS */
    position: fixed;
    top: 4rem; /* Below navbar */
    left: 0;
    width: 100%;
    background-color: #2d3748; /* Slate-800 */
    border-top: 1px solid rgba(128, 90, 213, 0.2);
    padding: 1rem 0;
    z-index: 40;
    text-align: center;
}

.mobile-menu a {
    display: block;
    color: #e2e8f0;
    text-decoration: none;
    padding: 0.75rem 1rem;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
    background-color: rgba(128, 90, 213, 0.1); /* Purple-500/10 */
}

/* Hero Section */
.hero {
    padding-top: 8rem; /* pt-32 */
    padding-bottom: 5rem; /* pb-20 */
    text-align: center;
}

.hero h1 {
    font-size: 3rem; /* text-5xl */
    line-height: 1;
    font-weight: bold;
    margin-bottom: 1.5rem; /* mb-6 */
    background: linear-gradient(to right, #a78bfa, #f687b3, #a78bfa); /* Purple-pink gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.hero p {
    font-size: 1.25rem; /* text-xl */
    color: #cbd5e0; /* Gray-300 */
    margin-bottom: 2rem; /* mb-8 */
    max-width: 48rem; /* max-w-3xl */
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* gap-4 */
    justify-content: center;
    align-items: center;
}

.btn {
    padding: 1rem 2rem; /* px-8 py-4 */
    border-radius: 9999px; /* rounded-full */
    font-weight: 600; /* font-semibold */
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn.primary {
    background: linear-gradient(to right, #805ad5, #d53f8c); /* Purple-600 to Pink-600 */
    color: white;
}

.btn.primary:hover {
    box-shadow: 0 10px 15px -3px rgba(128, 90, 213, 0.5); /* shadow-lg shadow-purple-500/50 */
    transform: scale(1.05);
}

.btn.secondary {
    border: 2px solid #805ad5; /* Purple-500 */
    color: #e2e8f0;
}

.btn.secondary:hover {
    background-color: rgba(128, 90, 213, 0.1); /* Purple-500/10 */
}

/* Services Section */
.services-section {
    padding-top: 5rem; /* py-20 */
    padding-bottom: 5rem;
    background-color: rgba(26, 32, 44, 0.5); /* Slate-900/50 */
}

.services-section h2 {
    font-size: 2.25rem; /* text-4xl */
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem; /* mb-4 */
}

.services-section .subtitle {
    text-align: center;
    color: #a0aec0; /* Gray-400 */
    margin-bottom: 4rem; /* mb-16 */
    max-width: 42rem; /* max-w-2xl */
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column on small screens */
    gap: 2rem; /* gap-8 */
}

.service-card {
    background: linear-gradient(to bottom right, #2d3748, #1a202c); /* Slate-800 to Slate-900 */
    padding: 2rem; /* p-8 */
    border-radius: 1rem; /* rounded-2xl */
    border: 1px solid rgba(128, 90, 213, 0.2); /* Purple-500/20 */
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: rgba(128, 90, 213, 0.5); /* Purple-500/50 */
    box-shadow: 0 20px 25px -5px rgba(128, 90, 213, 0.2); /* shadow-xl shadow-purple-500/20 */
}

.service-icon {
    color: #a78bfa; /* Purple-400 */
    margin-bottom: 1rem; /* mb-4 */
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: bold;
    margin-bottom: 0.75rem; /* mb-3 */
}

.service-card p {
    color: #a0aec0; /* Gray-400 */
    margin-bottom: 1rem; /* mb-4 */
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* space-y-2 */
}

.service-card ul li {
    display: flex;
    align-items: center;
    font-size: 0.875rem; /* text-sm */
    color: #cbd5e0; /* Gray-300 */
}

.service-card ul li svg {
    color: #a78bfa; /* Purple-400 */
    margin-right: 0.5rem; /* mr-2 */
}

/* About Section */
.about-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    text-align: center;
}

.about-section h2 {
    font-size: 2.25rem; /* text-4xl */
    font-weight: bold;
    margin-bottom: 1.5rem; /* mb-6 */
}

.about-section p {
    font-size: 1.125rem; /* text-lg */
    color: #cbd5e0; /* Gray-300 */
    margin-bottom: 1.5rem; /* mb-6 */
    max-width: 56rem; /* max-w-4xl */
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: rgba(26, 32, 44, 0.5); /* Slate-900/50 */
}

.contact-section h2 {
    font-size: 2.25rem; /* text-4xl */
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

.contact-section .subtitle {
    text-align: center;
    color: #a0aec0; /* Gray-400 */
    margin-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column on small screens */
    gap: 3rem; /* gap-12 */
    max-width: 60rem; /* Limit width for centering */
    margin: 0 auto; /* Center the grid */
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* space-y-6 */
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem; /* px-4 py-3 */
    background-color: #2d3748; /* Slate-800 */
    border-radius: 0.5rem; /* rounded-lg */
    border: 1px solid rgba(128, 90, 213, 0.2); /* Purple-500/20 */
    color: #e2e8f0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #805ad5; /* Purple-500 */
    outline: none;
}

.contact-form textarea {
    min-height: 8rem; /* h-32 */
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    border-radius: 0.5rem; /* rounded-lg */
    padding: 1rem 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* space-y-6 */
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem; /* space-x-4 */
}

.info-item svg {
    width: 1.5rem; /* w-6 */
    height: 1.5rem; /* h-6 */
    color: #a78bfa; /* Purple-400 */
    margin-top: 0.25rem; /* mt-1 */
}

.info-item h3 {
    font-weight: 600; /* font-semibold */
    margin-bottom: 0.25rem; /* mb-1 */
}

.info-item p {
    color: #a0aec0; /* Gray-400 */
}

.social-links {
    padding-top: 1.5rem; /* pt-6 */
}

.social-links h3 {
    font-weight: 600;
    margin-bottom: 1rem; /* mb-4 */
}

.social-icons {
    display: flex;
    gap: 1rem; /* space-x-4 */
}

.social-icons a {
    width: 3rem; /* w-12 */
    height: 3rem; /* h-12 */
    background-color: #2d3748; /* Slate-800 */
    border-radius: 9999px; /* rounded-full */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #805ad5; /* Purple-600 */
}

.social-icons svg {
    width: 1.5rem; /* w-6 */
    height: 1.5rem; /* h-6 */
    color: #e2e8f0;
}

/* Footer */
.footer {
    background-color: #1a202c; /* Slate-950 */
    padding-top: 2rem; /* py-8 */
    padding-bottom: 2rem;
    border-top: 1px solid rgba(128, 90, 213, 0.2); /* Purple-500/20 */
    text-align: center;
}

.footer p {
    color: #a0aec0; /* Gray-400 */
}

.footer .tagline {
    font-size: 0.875rem; /* text-sm */
    color: #718096; /* Gray-500 */
    margin-top: 0.5rem; /* mt-2 */
}

/* Responsive adjustments */
@media (min-width: 768px) { /* md breakpoint */
    .nav-links {
        display: flex;
    }
    .menu-toggle {
        display: none;
    }
    .hero-buttons {
        flex-direction: row;
    }
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        /* No need to re-center here, already handled above */
    }
    .services-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 3rem; /* text-5xl */
    }
    .hero h1 {
        font-size: 4.5rem; /* text-7xl */
    }
    .hero p {
        font-size: 1.5rem; /* text-2xl */
    }
}
