
:root {
    --primary-color: #ffffff;
    --secondary-color: #1a1a1a;
    --accent-color-1: #007BFF;
    --accent-color-2: #0056b3;
    --font-headings: 'Exo 2', sans-serif;
    --font-body: 'Source Sans Pro', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.logo {
    height: 50px;
}

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

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

nav a {
    text-decoration: none;
    color: var(--secondary-color);
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color-1);
}

#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-headings);
    font-size: 4.5rem;
    margin: 0;
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(0, 123, 255, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-top: 1rem;
    color: var(--secondary-color);
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-image: linear-gradient(45deg, var(--accent-color-1), var(--accent-color-2));
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-headings);
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 114, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 114, 255, 0.5);
}

section {
    padding: 6rem 0;
}

.section-title {
    font-family: var(--font-headings);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--secondary-color);
}

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

.card {
    background-color: #fff;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.card-icon {
    font-size: 3rem;
    color: var(--accent-color-1);
    margin-bottom: 1.5rem;
}

.card-title {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

#detailed-services {
    background-color: #f9f9f9;
}

.detailed-services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    font-weight: 600;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: scale(1.05);
    color: var(--accent-color-1);
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

}

.portfolio-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

#contact form {
    max-width: 700px;
    margin: 0 auto;
}

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

#contact input, #contact textarea {
    width: 100%;
    padding: 1rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    color: var(--secondary-color);
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact input:focus, #contact textarea:focus {
    outline: none;
    border-color: var(--accent-color-1);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.2);
}

footer {
    background-color: #f9f9f9;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.social-links a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color-1);
}

/* Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}
