:root {
    --dark-grey: #2f2c2a;
    --primary-blue: #3533CD;
    --light-grey: #cccccc;
    --background-white: #ffffff;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--background-white);
    min-height: 100vh;
}

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

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 35px;
    background: var(--dark-grey);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: white;
}

.nav-item {
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: var(--primary-blue);
}

.cta-button {
    display: flex;
    padding: 12px 28px;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-blue) 3.42%, var(--dark-grey) 50%, var(--primary-blue) 99.94%);
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(53, 51, 205, 0.3);
}

/* Welcome Section */
.welcome-section {
    display: flex;
    padding: 60px 30px;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, var(--dark-grey) 14.9%, #302E50 52.4%, var(--primary-blue) 100%);
    min-height: 500px;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
    flex: 1;
    max-width: 600px;
}

.welcome-content h1 {
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.welcome-content p {
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
}

.welcome-cta {
    display: flex;
    padding: 15px 40px;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    background: var(--dark-grey);
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.welcome-cta:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(47, 44, 42, 0.3);
    background: rgba(47, 44, 42, 0.9);
}

.welcome-image {
    width: 35%;
    height: auto;
    max-width: 400px;
}

/* Features Section */
.features-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    padding: 60px 20px;
    background: white;
}

.feature-card {
    position: relative;
    background: linear-gradient(137deg, #2A2C2F 0%, #3533CD 50%, #2A2C2F 100%);
    color: white;
    border-radius: 30px;
    padding: 30px 20px;
    width: 280px;
    min-height: 400px;
    text-align: left;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Step effect for cards */
.card-1 {
    margin-top: 60px;   /* First card (lowest) */
}

.card-2 {
    margin-top: 30px;   /* Middle card */
}

.card-3 {
    margin-top: 0px;    /* Third card (highest) */
}

.ribbon-img {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 60px;
    height: auto;
    transform: rotate(-10deg);
}

.feature-card h2 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 10px;
    color: white;
}

.feature-card p {
    font-size: 15px;
    margin-bottom: 12px;
    color: white;
}

.feature-card ul {
    list-style: disc;
    padding-left: 20px;
    font-size: 14px;
}

.feature-card p,
.feature-card ul,
.feature-card li {
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, #3634CD 0%, rgba(148, 147, 228, 0.54) 34%, rgba(251, 251, 254, 0.98) 91%, white 100%),
    url('resources/Frame 10.png') no-repeat center center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
}

.hero-text {
    font-family: 'Open Sans', sans-serif;
    color: black;
}

.hero-title {
    font-weight: 700;
    font-size: 60px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-weight: 400;
    font-size: 32px;
}

/* Team Section */
.team-section {
    padding: 80px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--background-white);
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-header h1 {
    color: var(--dark-grey);
    font-family: 'Open Sans', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.team-header p {
    color: var(--dark-grey);
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.team-member {
    background: rgba(53, 51, 205, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(53, 51, 205, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.team-member:hover {
    transform: translateY(-10px);
    background: rgba(53, 51, 205, 0.15);
    box-shadow: 0 20px 40px rgba(53, 51, 205, 0.2);
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(53, 51, 205, 0.2);
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.team-member:hover .avatar {
    border-color: rgba(53, 51, 205, 0.4);
}

.name {
    color: var(--dark-grey);
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.role {
    color: var(--primary-blue);
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.description {
    color: var(--dark-grey);
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.8;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-tag {
    background: rgba(47, 44, 42, 0.1);
    color: var(--dark-grey);
    padding: 8px 16px;
    border-radius: 999px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(47, 44, 42, 0.2);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(47, 44, 42, 0.2);
}

/* Footer */
.footer {
    background-color: #2d2d2d;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
}

.skyline-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer-skyline {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.footer-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
}

.logo-section {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    max-height: 60px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.tagline {
    font-size: 1.2rem;
    color: var(--light-grey);
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    font-family: 'Open Sans', sans-serif;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--light-grey);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-family: 'Open Sans', sans-serif;
}

.footer-link:hover {
    color: white;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-link:hover::after {
    width: 100%;
}

.separator {
    color: #666;
    font-size: 1rem;
    font-weight: 300;
    user-select: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 20px;
    }

    .welcome-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .welcome-content {
        margin-bottom: 30px;
    }

    .welcome-content h1 {
        font-size: 32px;
    }

    .welcome-image {
        width: 80%;
    }

    .features-section {
        flex-direction: column;
        align-items: center;
    }

    .card-1,
    .card-2,
    .card-3 {
        margin-top: 0;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .team-section {
        padding: 60px 20px;
    }

    .team-header h1 {
        font-size: 36px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .separator {
        display: none;
    }
}