/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 0;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
}

.hero p {
    font-size: 1.2rem;
    margin-top: 20px;
    max-width: 600px;
}

.hero .cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.hero .cta-button:hover {
    background-color: #333;
}

/* Introduction Section */
.introduction {
    padding: 50px 20px;
    text-align: center;
}

.introduction h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.introduction-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.introduction-video {
    width: 560px;
    height: 315px;
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.introduction-text {
    max-width: 500px;
    text-align: left;
}

/* Roadmap Section */
.section {
    padding: 50px 20px;
    text-align: center;
}

.section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.section p {
    margin-bottom: 20px;
}

.roadmap-phase {
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.roadmap-phase h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-left: 50px;
}

.roadmap-phase h4::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 90%;
    background-color: #5DACE1;
    border-radius: 3px;
}


.roadmap-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0;
    border-left: none;
    position: relative;
    padding-left: 50px;
}

/* DESIGN SUGGESTION: Soft, glowing timeline */
.roadmap-list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px; /* The physical line is thin */
    background-color: #A9B4C2;
    /* This shadow creates the soft, glowing effect */
    box-shadow: 0 0 10px 1px #A9B4C2;
    border-radius: 1px;
}

.roadmap-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    position: relative;
    color: black;
}

/* DESIGN SUGGESTION: Matching glowing markers */
.roadmap-item::before {
    content: '';
    width: 12px;
    height: 12px;
    background-color: #8C9BAB;
    border-radius: 50%;
    flex-shrink: 0;
    /* An enhanced glow for the markers */
    box-shadow: 0 0 12px 2px rgba(140, 155, 171, 0.8);
    position: absolute;
    top: 30px;
    /* Recalculated to center on the new thin line */
    left: -35px;
    z-index: 1;
}

.step-header {
    flex-grow: 1;
}

.step-header h5 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.step-header p {
    font-size: 1rem;
    margin: 0;
    color: #555;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.skill-tag {
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: black;
    white-space: nowrap;
    cursor: pointer;
}

.skill-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Project Ideas Section */
.project-ideas {
    padding: 50px 20px;
    text-align: center;
}

.project-ideas h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.project-ideas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 30px;
    text-align: left;
}

.project-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.project-card ul {
    list-style-type: none;
}

.project-card li {
    margin-bottom: 10px;
}

/* Resources Section */
.scroll-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-wrapper {
    width: 1200px;
    overflow: hidden;
    position: relative;
}

.content-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 30px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 20px;
    scroll-behavior: smooth;
}

.content-grid::-webkit-scrollbar {
    display: none;
}

.content-card {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    flex: 0 0 auto;
    width: 380px;
    position: relative;
    box-sizing: border-box;
}

.content-card:hover {
    transform: scale(1.05);
}

.content-card a {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
}

.content-card a:hover {
    color: #555;
}

.card-link-cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.scroll-arrow {
    position: relative;
    top: auto;
    transform: none;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.scroll-arrow.left {
    left: auto;
}

.scroll-arrow.right {
    right: auto;
}

/* 404 Page */
.not-found-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.not-found-container h1 {
    font-size: 10rem;
    margin-bottom: 0;
}

.not-found-container h2 {
    font-size: 2rem;
    margin-top: 0;
}
