* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #1f2937;
    background: #f9fafb;
    letter-spacing: -0.2px;
}

/* Container */
.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

/* Header */
header {
    background: #000;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

header .logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
}

header .logo span {
    color: #5255ed;
}

header nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    position: relative;
    transition: all 0.3s ease;
    padding-bottom: 4px;
}

header nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #5255ed;
    left: 0;
    bottom: 0;
    transition: width 0.3s;
}

header nav a:hover::after {
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, #3e3eff 0%, #24194d 100%);
    color: #fff;
    padding: 9rem 1rem 7rem;
    text-align: center;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
}

#hero h2 {
    font-size: 3rem;
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto 1rem;
    letter-spacing: -0.5px;
}

#hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

/* Button */
.btn {
    display: inline-block;
    background: #fff;
    color: #3e3eff;
    padding: 0.9rem 2.2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(62, 62, 255, 0.25);
}

.btn:hover {
    background: #f0f4ff;
    box-shadow: 0 10px 24px rgba(62, 62, 255, 0.3);
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 6rem 0;
}

section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #111827;
    position: relative;
    letter-spacing: -0.5px;
}

section h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #5255ed;
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* Grid Layout */
#services .grid,
#projects .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* Card Styles */
.card, .project {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-left: 4px solid #5255ed;
    will-change: transform, box-shadow;
}

.card:hover, .project:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px rgba(82, 85, 237, 0.15);
}

.card h4 {
    margin-bottom: 0.75rem;
    color: #5255ed;
    font-size: 1.1rem;
}

/* Projects */
.project img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.project h4 {
    margin-bottom: 0.5rem;
    color: #5255ed;
}

/* Contact Form */
form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    padding-top: 2rem;
}

form input,
form textarea {
    padding: 0.9rem 1.1rem;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font: inherit;
    background-color: #fff;
    transition: border 0.3s;
}

form input:focus,
form textarea:focus {
    border-color: #5255ed;
    outline: none;
}

/* Footer */
footer {
    background: #111827;
    color: #d1d5db;
    text-align: center;
    padding: 2.5rem 0;
    font-size: 0.95rem;
    border-top: 1px solid #1f2937;
    line-height: 1.6;
}

/* Media Queries */
@media (max-width: 600px) {
    #hero h2 {
        font-size: 2rem;
    }

    header nav a {
        margin-left: 1rem;
    }

    .btn {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }

}


