@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #4f46e5;
    --secondary-color: #7c3aed;
    --accent-color: #db2777;
    --bg-light: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.8);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --glass-border: rgba(0, 0, 0, 0.1);
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Container for left-right spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism utility updated for light theme */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    box-shadow: var(--card-shadow);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.5rem 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Banner Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin-top: 110px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.slide-content {
    position: relative;
    text-align: center;
    z-index: 10;
    padding: 2rem;
}

.slide-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease;
}

.slide-content p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.2s backwards;
}

/* Experience & Projects Section */
.stats-section {
    padding: 5rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.stat-card {
    padding: 3rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Technologies Section */
.tech-section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tech-category {
    padding: 2rem;
}

.tech-category h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-item {
    background: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.tech-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Testimonials Section */
.testimonial-section {
    padding: 5rem 0;
    background: #f1f5f9;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Working Process Section */
.process-section {
    padding: 5rem 0;
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.process-step h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Scroll Animations */
.fade-in-up-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-up-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button */
.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    color: white !important;
    font-weight: 600;
    transition: transform 0.3s ease, filter 0.3s ease;
}

..btn-primary:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Contact Section */
#contact {
    padding: 5rem 0;
    background: #f8fafc;
}

#contact .contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 1.2rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.2);
    width: 100%;
    max-width: none;
    margin: 0;
}

#contact .container {
    max-width: 1200px;
    padding: 0;
}

#contact .contact-form label {
    display: block;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

#contact .contact-form input,
#contact .contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

#contact .contact-form input:focus,
#contact .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

#contact .contact-form textarea {
    resize: vertical;
}

#contact .contact-form .btn-primary {
    width: fit-content;
    padding: 0.85rem 1.5rem;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 2000;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

#back-to-top:hover {
    transform: translateY(-7px);
}

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

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

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

footer {
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
    .slide-content p {
        font-size: 1.1rem;
    }
}
