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

body {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-style: small-caps;
    background: #9b8fc4;
    color: #000;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #7a6ba8;
    border-bottom: 1px solid #6a5b98;
    color: #000;
    z-index: 1000;
}

body {
    padding-top: 70px;
}

.nav a {
    margin-left: 1rem;
    text-decoration: none;
    color: #000;
}

.nav a:hover {
    color: #333;
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 2rem;
    background: #8a7ab8;
    background-image: url('images/stonks.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #000;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(138, 122, 184, 0.7);
    z-index: 1;
}

.hero-text,
.logo-img {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 50%;
}

.logo-img {
    width: 30%;
    border-radius: 10px;
}

.cta {
    padding: 0.7rem 1.2rem;
    background: #7254cc;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.cta:hover {
    background: #362764;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* SERVICES */
.services {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: #cfb088;
    border-radius: 10px;
    text-align: center;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
}

.carousel-track {
    display: flex;
    position: relative;
}

.service-card {
    background: #cfb088;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    min-width: 100%;
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease-in-out;
}

.service-card.active {
    opacity: 1;
    display: block;
}

.service-card i {
    font-size: 3rem;
    color: #7766aa;
    margin-bottom: 1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #7766aa;
}

.dot:hover {
    background: #9988cc;
}

/* ABOUT */
.about {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    max-width: 900px;
    margin: auto;
    background: #cfb088;
    border-radius: 10px;
}

.about-img {
    width: 300px;
    border-radius: 10px;
}

.expand-btn {
    padding: 0.6rem 1.2rem;
    background: #7766aa;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.expand-btn:hover {
    background: #8877bb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 0;
}

.expand-content.show {
    max-height: 1000px;
    margin-top: 1rem;
}

.expand-content p {
    margin: 0.5rem 0;
}

/* TEAM */
.team {
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    margin: auto;
    background: #cfb088;
    border-radius: 10px;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.team-member img {
    width: 200px;
    border-radius: 10px;
}

/* FAQ */
.faq {
    background: #cfb088;
    padding: 2rem;
    max-width: 900px;
    margin: 2rem auto;
    border-radius: 10px;
}

.faq-item {
    margin: 1rem 0;
    border: 1px solid #b89968;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.faq-question {
    width: 100%;
    padding: 1rem;
    background: #e6d5b8;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #d9c4a1;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    background: #fff;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1rem;
}

/* CONTACT */
.contact {
    background: #cfb088;
    padding: 2rem;
    max-width: 900px;
    margin: 2rem auto;
    border-radius: 10px;
}

/* FOOTER */
.footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* STICKY CONTACT */
.sticky-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #7a6ab8;
    color: #fff;
    padding: 1rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.sticky-button:hover {
    background: #8b7bc9;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.sticky-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sticky-form {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: white;
    padding: 1rem;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.cta-form {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 1rem;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-img {
        width: 100%;
        margin-top: 1.5rem;
    }

    .about {
        flex-direction: column;
        text-align: center;
    }
}
