/* Full Stack Development Page Styles */

/* ================= COURSE MODAL ================= */
.course-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    display: none; /* Injected via active class */
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.course-modal.active {
    display: flex;
}

.course-modal-box {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(255, 0, 0, 0.1);
    animation: modalAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalAppear {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.course-modal-box h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.course-modal-box select {
    width: 100%;
    padding: 15px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 30px;
    outline: none;
    cursor: pointer;
}

.course-modal-box select:focus {
    border-color: #ff0000;
}

.modal-actions {
    display: flex;
    gap: 15px;
}

.modal-actions .btn {
    flex: 1;
    padding: 12px;
}

/* ================= SECTIONS ================= */
.fs-intro, .fs-services, .fs-tools, .fs-process, .fs-faq {
    padding: 100px 5%;
    position: relative;
    z-index: 5;
}

/* Hero Section Adjustments */
.hero-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-left h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-left h1 span {
    color: #ff0000;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.hero-left p {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-right {
    display: flex;
    justify-content: center;
}

.hero-right img {
    width: 100%;
    max-width: 100%;
    transform: scale(1.75);
    transform-origin: center right;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Intro Features */
.fs-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.fs-title span { color: #ff0000; }

.fs-subtitle {
    text-align: center;
    color: #888;
    max-width: 800px;
    margin: 0 auto 60px;
}

.fs-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.fs-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    text-align: center;
}

.fs-card i {
    font-size: 2.5rem;
    color: #ff0000;
    margin-bottom: 20px;
}

.fs-card h3 { margin-bottom: 15px; }

.fs-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 0, 0, 0.05);
    border-color: rgba(255, 0, 0, 0.3);
}

/* Services Grid */
.fs-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.fs-service-box {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #ff0000;
    transition: 0.3s;
}

.fs-service-box:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

/* Tools Slider */
.fs-tools-slider {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.fs-tools-track {
    display: flex;
    width: calc(250px * 12);
    animation: scrollTools 30s linear infinite;
}

@keyframes scrollTools {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); }
}

.fs-tool-box {
    width: 250px;
    text-align: center;
    padding: 20px;
}

.fs-tool-box img {
    height: 60px;
    filter: grayscale(1) invert(1);
    opacity: 0.6;
    margin-bottom: 15px;
    transition: 0.3s;
}

.fs-tool-box:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

/* Process Steps */
.fs-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.fs-process-steps .step-box {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 0, 0, 0.1);
    z-index: -1;
}

/* FAQ Accordion */
.fs-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    color: #fff;
    text-align: left;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 25px;
    height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    background: rgba(255, 0, 0, 0.02);
    color: #aaa;
}

.faq-answer.open {
    padding: 20px 25px;
    height: auto;
}

/* Responsive */
@media (max-width: 992px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .hero-left h1 { font-size: 3rem; }
    .hero-left p { margin: 0 auto 40px; }
}



