/* Global Styles */
:root {
    --primary-color: #3a86ff;
    --primary-dark: #2667cc;
    --secondary-color: #ff006e;
    --text-color: #e0e0e0;
    --light-text: #a0a0a0;
    --background: #1e293b;
    --card-background: #2d3748;
    --light-background: #2d3748;
    --border-color: #4a5568;
    --success-color: #4caf50;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.accent {
    color: var(--primary-color);
}

.highlight {
    color: var(--secondary-color);
}

section {
    padding: 5rem 2rem;
    padding-top: 7rem; /* Extra padding at the top to account for fixed navigation */
    scroll-margin-top: 80px; /* For smooth scrolling with anchor links */
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 100vw;
    background-color: rgba(30, 41, 59, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

nav.nav-scrolled {
    padding: 1rem 2rem;
    background-color: rgba(30, 41, 59, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links a {
    margin-left: 1.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.contact-btn {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
}

.contact-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
header {
    height: 100vh;
    background: linear-gradient(135deg, #1e293b 0%, #161e2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px; /* Accounting for fixed navbar */
}

.hero {
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Services Section */
.services-section {
    background-color: var(--light-background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.service-icon {
    font-size: 3rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Process Section */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.timeline-item {
    position: relative;
    padding: 2rem;
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.timeline-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.timeline-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* About Section */
.about-section {
    background-color: var(--light-background);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.experience-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.value-props {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.value-item {
    background-color: var(--card-background);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.value-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    text-align: center;
}

.contact-intro {
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    color: var(--light-text);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1rem;
}

.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.2);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    grid-column: 1 / -1;
    width: auto;
    justify-self: center;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #2d3748;
    color: #f7fafc;
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #cbd5e0;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: #63b3ed;
}

.copyright {
    border-top: 1px solid #4a5568;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #a0aec0;
}

.nav-with-no-top-padding {
    padding-top: 0 !important;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text h2 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .nav-links a {
        margin: 0 0.7rem;
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 3rem 1.5rem;
    }
    
    .value-props {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links a {
        margin: 0.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 0 1rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .timeline {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links, .footer-contact {
        margin-top: 1.5rem;
    }
    
    .footer-links {
        align-items: center;
    }
}

/* Custom styles that extend Tailwind CSS */

/* Animated Background Gradient */
.bg-gradient-animation {
    background: linear-gradient(-45deg, #3a86ff10, #ff006e10, #0072ff10, #00c6ff10);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

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

/* Morphing Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: blob-morph 15s ease-in-out infinite;
}

.blob-blue {
    width: 300px;
    height: 300px;
    background: linear-gradient(90deg, #3a86ff, #3a6bff);
}

.blob-purple {
    width: 350px;
    height: 350px;
    background: linear-gradient(90deg, #7c3aff, #a76cff);
}

.blob-pink {
    width: 250px;
    height: 250px;
    background: linear-gradient(90deg, #ff006e, #ff4e91);
}

@keyframes blob-morph {
    0% {
        transform: scale(1) translate(0, 0);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
    34% {
        transform: scale(1.1) translate(20px, 20px);
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }
    67% {
        transform: scale(0.9) translate(-20px, 10px);
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    100% {
        transform: scale(1) translate(0, 0);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

/* Process Timeline */
.process-timeline {
    position: relative;
}

.process-line {
    position: absolute;
    top: 85px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #3a86ff, #ff006e);
    z-index: 0;
    opacity: 0.3;
}

.process-step {
    position: relative;
    z-index: 1;
}

.process-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3a86ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px -5px rgba(58, 134, 255, 0.5);
}

/* Technology Badges */
.tech-badge {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: rgba(58, 134, 255, 0.1);
    color: #3a86ff;
    transition: all 0.3s ease;
}

.dark .tech-badge {
    background-color: rgba(58, 134, 255, 0.2);
    color: rgb(122, 178, 255);
}

.tech-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(58, 134, 255, 0.3);
    background-color: #3a86ff;
    color: white;
}

/* Service Icon Container */
.service-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.1), rgba(58, 134, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.service-icon-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #3a86ff, #ff006e);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-icon-container:hover::before {
    opacity: 1;
    transform: scale(1.05);
    filter: blur(8px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background-color: rgba(30, 41, 59, 0.5);
}

::-webkit-scrollbar-thumb {
    background-color: rgba(58, 134, 255, 0.5);
    border-radius: 10px;
    border: 3px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(58, 134, 255, 0.8);
}

/* Dark mode adjustment for image aspect ratio */
.aspect-w-16 {
    position: relative;
    padding-bottom: 56.25%;
}

.aspect-w-4 {
    position: relative;
    padding-bottom: 75%;
}

.aspect-w-16 > img,
.aspect-w-4 > img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Form Message Styling */
.form-message {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.form-message.success {
    background-color: #e6f7ea;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-message.error {
    background-color: #fdeaea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

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

/* Text Highlight Effect */
.text-glow {
    text-shadow: 0 0 10px rgba(58, 134, 255, 0.5), 0 0 20px rgba(58, 134, 255, 0.3);
}

/* Mobile Menu Animation */
@keyframes menuAppear {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mobile-menu {
    animation: menuAppear 0.3s ease;
} 