:root {
    --dark-red: #8B0000;
    --medium-red: #B22222;
    --light-red: #CD5C5C;
    --bright-red: #E53935;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --gray-light: #E0E0E0;
    --gray: #9E9E9E;
    --dark: #1A1A1A;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--medium-red) 25%, var(--light-red) 50%, var(--bright-red) 100%);
    background-attachment: fixed;
}

a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.85;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(139, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo a span {
    color: var(--light-red);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.15);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

main {
    padding-top: 80px;
    min-height: calc(100vh - 160px);
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--dark-red);
}

.btn-primary:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-right: 1rem;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark-red);
}

.hero {
    text-align: center;
    padding: 6rem 2rem;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .description {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero .cta-buttons {
    animation: fadeInUp 1s ease 0.6s both;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease both;
}

.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--white);
}

.service-card p {
    font-size: 1rem;
    opacity: 0.9;
}

.backed-by {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: inline-block;
}

.backed-by span {
    font-weight: 600;
}

.about-section {
    padding: 6rem 2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.about-intro {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.about-section h2 {
    border-bottom: 2px solid var(--light-red);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

.about-section h3 {
    color: var(--light-red);
    margin-top: 1.5rem;
}

.about-section ul {
    list-style: none;
    padding-left: 0;
}

.about-section ul li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.about-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--light-red);
    font-weight: bold;
}

.projects-section {
    padding: 6rem 2rem;
}

.projects-section h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.projects-section .subtitle {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

.project-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--dark-red), var(--bright-red));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.project-challenge,
.project-solution {
    margin-bottom: 1rem;
}

.project-challenge strong,
.project-solution strong {
    color: var(--light-red);
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.project-stack span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.project-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.project-buttons .btn {
    flex: 1;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
}

.contact-section {
    padding: 6rem 2rem;
    max-width: 600px;
}

.contact-section h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.contact-section .subtitle {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.9;
}

#mc_embed_signup {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#mc_embed_signup h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

#mc_embed_signup p {
    text-align: center;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.mc-field-group {
    margin-bottom: 1.5rem;
}

.mc-field-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.mc-field-group input,
.mc-field-group select,
.mc-field-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.mc-field-group input::placeholder,
.mc-field-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.mc-field-group input:focus,
.mc-field-group select:focus,
.mc-field-group textarea:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.mc-field-group select option {
    background: var(--dark-red);
    color: var(--white);
}

.mc-field-group textarea {
    resize: vertical;
    min-height: 100px;
}

#mc-embedded-subscribe {
    width: 100%;
    background: var(--white);
    color: var(--dark-red);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#mc-embedded-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.clear {
    margin-top: 1rem;
}

footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    text-align: center;
}

.footer-content p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.footer-content .powered-by a {
    color: var(--light-red);
    font-weight: 600;
}

.footer-content .powered-by a:hover {
    text-decoration: underline;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(139, 0, 0, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-buttons {
        flex-direction: column;
    }

    .service-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
    }
}
