/* NebulaDev Main Stylesheet */
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', Arial, sans-serif;
    background: #f7f9fb;
    color: #232946;
    min-height: 100vh;
    line-height: 1.6;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
/* Header styles */
.header {
    background: #fff;
    box-shadow: 0 2px 16px 0 rgba(106,130,251,0.07);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo__img {
    width: 40px;
    height: 40px;
}
.logo__text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #6A82FB 0%, #FC5C7D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav {
    display: flex;
}
.nav__list {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav__link {
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.nav__link:hover, .nav__link.active {
    background: linear-gradient(90deg, #6A82FB 0%, #FC5C7D 100%);
    color: #fff;
}
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.nav__toggle span {
    width: 28px;
    height: 3px;
    background: #6A82FB;
    border-radius: 2px;
    display: block;
}
/* Hero section */
.hero {
    background: linear-gradient(120deg, #6A82FB 0%, #FC5C7D 100%);
    color: #fff;
    padding: 5rem 0 3rem 0;
    position: relative;
    overflow: hidden;
}
.hero__container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}
.hero__content {
    max-width: 600px;
}
.hero__title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.1;
}
.gradient-text {
    background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #e0e7ff;
}
.hero__bg {
    position: absolute;
    right: -120px;
    top: 0;
    width: 600px;
    height: 100%;
    background: radial-gradient(circle at 60% 40%, #6A82FB33 0%, #FC5C7D11 100%);
    z-index: 0;
    pointer-events: none;
}
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px 0 rgba(106,130,251,0.10);
}
.btn--primary {
    background: linear-gradient(90deg, #6A82FB 0%, #FC5C7D 100%);
    color: #fff;
}
.btn--primary:hover {
    background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%);
}
.btn--secondary {
    background: #fff;
    color: #6A82FB;
    border: 1px solid #6A82FB;
}
.btn--secondary:hover {
    background: #6A82FB;
    color: #fff;
}
/* About section */
.about {
    background: #fff;
    padding: 4rem 0;
}
.about__container {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}
.about__text {
    flex: 1 1 320px;
}
.about__image {
    flex: 1 1 320px;
    display: flex;
    justify-content: center;
}
.about__list {
    margin-top: 1.5rem;
    list-style: disc inside;
    color: #6A82FB;
}
/* Services section */
.services {
    background: #f7f9fb;
    padding: 4rem 0;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-align: center;
    color: #232946;
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.service-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(106,130,251,0.07);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(106,130,251,0.13);
}
.service-card__icon {
    margin-bottom: 1rem;
}
.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #6A82FB;
}
.service-card p {
    color: #232946;
    font-size: 1rem;
}
/* Projects section */
.projects {
    background: #fff;
    padding: 4rem 0;
}
.projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.project-card {
    background: #f7f9fb;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(106,130,251,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(106,130,251,0.13);
}
.project-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #e0e7ff;
}
.project-card__content {
    padding: 1.5rem;
}
.project-card__content h3 {
    color: #6A82FB;
    margin-bottom: 0.5rem;
}
/* Testimonials section */
.testimonials {
    background: linear-gradient(120deg, #6A82FB 0%, #FC5C7D 100%);
    color: #fff;
    padding: 4rem 0;
}
.testimonials__slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}
.testimonial {
    min-width: 320px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    scroll-snap-align: start;
    box-shadow: 0 2px 16px 0 rgba(106,130,251,0.07);
    transition: box-shadow 0.2s;
}
.testimonial__author {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: #e0e7ff;
}
/* Contact section */
.contact {
    background: #f7f9fb;
    padding: 4rem 0;
}
.contact__container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: flex-start;
}
.contact__info {
    flex: 1 1 320px;
}
.contact__form {
    flex: 1 1 320px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(106,130,251,0.07);
    padding: 2rem 1.5rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e0e7ff;
    border-radius: 8px;
    font-size: 1rem;
    background: #f7f9fb;
    transition: border 0.2s;
}
input:focus, textarea:focus {
    border-color: #6A82FB;
    outline: none;
}
.form__msg {
    margin-top: 1rem;
    font-size: 1rem;
    min-height: 1.5em;
}
/* Footer styles */
.footer {
    background: #fff;
    border-top: 1px solid #e0e7ff;
    padding: 2rem 0 1rem 0;
}
.footer__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer__links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}
.footer__links a {
    color: #6A82FB;
    font-weight: 500;
    transition: color 0.2s;
}
.footer__links a:hover {
    color: #FC5C7D;
}
.footer__social a {
    margin-right: 1rem;
    display: inline-block;
    transition: transform 0.2s;
}
.footer__social a:hover {
    transform: scale(1.15);
}
.footer__info {
    font-size: 0.95rem;
    color: #232946;
    margin-top: 1rem;
}
/* Responsive styles */
@media (max-width: 900px) {
    .about__container, .contact__container, .footer__container {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }
    .hero__container {
        align-items: flex-start;
    }
}
@media (max-width: 700px) {
    .header__container {
        flex-direction: row;
        gap: 1rem;
    }
    .nav__list {
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 1.5rem;
        width: 200px;
        padding: 1.5rem 1rem;
        border-radius: 12px;
        box-shadow: 0 2px 16px 0 rgba(106,130,251,0.13);
        display: none;
    }
    .nav__list.open {
        display: flex;
    }
    .nav__toggle {
        display: flex;
    }
}
@media (max-width: 500px) {
    .hero__title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .service-card, .project-card, .testimonial, .contact__form {
        padding: 1.2rem 0.7rem;
    }
} 