/* Variables */
:root {
    --primary-color: #0066cc;
    --secondary-color: #009688;
    --accent-color: #ff5722;
    --text-color: #212121;
    --background-color: #f5f5f5;
    --card-background: #ffffff;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 40px;
}

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

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

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 7rem 1rem 0 1rem; /* Adjusted padding to account for fixed header */
}

section {
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

h1, h2, h3 {
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    color: var(--primary-color);
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #e64a19;
    transform: translateY(-3px);
}

.service-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--card-background);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    background-color: var(--primary-color);
    color: white;
}

.accordion-header h3 {
    flex: 1;
    margin-left: 1rem;
}

.accordion-header i {
    font-size: 2rem;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-icon.rotate {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 1rem;
    background-color: var(--card-background);
    color: var(--text-color);
}

.accordion-content p {
    margin: 1rem 0;
}

.accordion-content ul {
    list-style: none;
    padding-left: 1rem;
}

.accordion-content ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.accordion-content ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
}

.usp-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.usp-item {
    flex: 1 1 200px;
    max-width: 300px;
    text-align: center;
    padding: 1rem;
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.usp-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.usp-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-text, .about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    h1 {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .accordion-header h3 {
        margin-left: 0.5rem;
    }
}
