/* ===========================
   GLOBAL + RESET
=========================== */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root{
  --bg-color: #000000;
  --primary-color: #000000;
  --second-color: #FF0000;
  --hover-bg-color: #FF0000;
  --shadow-1: 0px 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-2: 0px 2px 10px rgba(26, 112, 224, 0.4);
}

body{
  background-color: #000;
  color: #fff;
}

/* ===========================
   HERO SECTION
=========================== */

#page1 {
    height: 100vh;
    width: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 8vw;
    padding-top: 80px;
    position: relative;
}

.hero-container {
    width: 100%;
    max-width: 1500px;
    margin: auto;
    padding: 0 40px;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero-left h1 {
    font-size: clamp(2.5rem, 5vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-left h1 span {
    color: var(--second-color);
    text-shadow: 0 0 18px rgba(255, 0, 0, 0.6);
}

.hero-left p {
    max-width: 600px;
    text-align: justify;
    line-height: 1.7;
    opacity: 0.85;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 35px;
}

.hero-btn-primary {
    background: var(--second-color);
    color: #000;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.hero-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid var(--second-color);
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    transition: .3s ease;
}

.hero-btn-secondary:hover {
    background: var(--second-color);
    color: #000;
}

.hero-right img {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 0 25px rgba(255, 0, 0, 0.3));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* MOBILE HERO */
@media (max-width: 900px){
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-left p {
        margin: auto;
        text-align: justify;
    }

    .hero-right img {
        max-width: 350px;
    }
}

/* ===========================
   INTRO SECTION
=========================== */

.fs-intro {
    position: relative;
    padding: 100px 8vw;
    background: #000;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 55px 55px;
    animation: gridMove 12s linear infinite;
    opacity: .35;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(-120px); }
}

.fs-container {
    max-width: 1400px;
    margin: auto;
    position: relative;
    z-index: 2;
}

.fs-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.fs-title span {
    color: var(--second-color);
    text-shadow: 0 0 15px rgba(255,0,0,0.6);
}

.fs-subtitle {
    text-align: center;
    max-width: 850px;
    margin: auto;
    opacity: .85;
    line-height: 1.7;
}

/* CARDS */
.fs-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 30px;
    margin-top: 50px;
}

.fs-card {
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    transition: .3s;
    box-shadow: 0 0 15px rgba(255,0,0,0.1);
}

.fs-card:hover {
    border-color: var(--second-color);
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(255,0,0,0.3);
}

.fs-card i {
    font-size: 40px;
    color: var(--second-color);
    margin-bottom: 10px;
}

.fs-card p {
    opacity: .85;
    text-align: justify;
    font-size: .95rem;
}

.fs-buttons {
    text-align: center;
    margin-top: 50px;
}

.fs-btn-outline {
    background: transparent;
    border: 2px solid var(--second-color);
    color: #fff;
    margin-left: 15px;
    padding: 14px 35px;
    border-radius: 30px;
    transition: .3s;
}

.fs-btn-outline:hover {
    background: var(--second-color);
    color: #000;
}

/* ===========================
   SERVICES
=========================== */

.fs-services {
    background: #000;
    padding: 90px 8vw;
}

.fs-services-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 800;
}

.fs-services-title span {
    color: var(--second-color);
    text-shadow: 0 0 15px rgba(255,0,0,0.6);
}

.fs-services-subtitle {
    text-align: center;
    max-width: 850px;
    margin: auto;
    opacity: .85;
    margin-bottom: 60px;
    line-height: 1.7;
}

.fs-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 35px;
}

.fs-service-box {
    background: #0d0d0d;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #1a1a1a;
    transition: .3s;
}

.fs-service-box:hover {
    border-color: var(--second-color);
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(255,0,0,0.3);
}

.fs-service-box i {
    font-size: 40px;
    color: var(--second-color);
    margin-bottom: 10px;
}

.fs-service-box p {
    opacity: .85;
}

/* ===========================
   TOOLS SLIDER
=========================== */

.fs-tools {
    padding: 90px 8vw;
    background: #000;
    text-align: center;
}

.fs-tools-title {
    font-size: 2.6rem;
    font-weight: 800;
}

.fs-tools-title span {
    color: var(--second-color);
    text-shadow: 0 0 15px rgba(255,0,0,0.6);
}

.fs-tools-subtitle {
    max-width: 780px;
    margin: auto;
    opacity: .85;
    margin-bottom: 50px;
}

.fs-tools-slider {
    width: 100%;
    overflow: hidden;
}

.fs-tools-track {
    display: flex;
    gap: 40px;
    animation: slideTools 22s linear infinite;
}

@keyframes slideTools {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.fs-tool-box {
    background: #0d0d0d;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #1a1a1a;
    text-align: center;
    min-width: 180px;
}

.fs-tool-box img {
    width: 70px;
    filter: drop-shadow(0 0 12px rgba(255,0,0,0.4));
}

/* ===========================
   PROCESS SECTION
=========================== */

.fs-process {
    padding: 90px 8vw;
}

.fs-process-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 800;
}

.fs-process-title span {
    color: var(--second-color);
}

.fs-process-subtitle {
    text-align: center;
    max-width: 850px;
    margin: auto;
    opacity: .85;
    margin-bottom: 60px;
}

.fs-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 35px;
}

.step-box {
    background: #0d0d0d;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #1a1a1a;
    transition: .3s;
}

.step-box:hover {
    border-color: var(--second-color);
    transform: translateY(-6px);
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--second-color);
}

/* ===========================
   FAQ SECTION
=========================== */

.fs-faq {
    background: #000;
    padding: 90px 8vw;
}

.fs-faq-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 800;
}

.fs-faq-title span {
    color: var(--second-color);
}

.fs-faq-subtitle {
    text-align: center;
    max-width: 850px;
    margin: auto;
    opacity: .85;
    margin-bottom: 50px;
}

.fs-faq-container {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    margin-bottom: 18px;
}

.faq-question {
    width: 100%;
    background: #0d0d0d;
    padding: 16px 20px;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    color: #fff;
}

.faq-question:hover {
    border-color: var(--second-color);
}

.arrow {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--second-color);
}

.faq-answer {
    background: #111;
    padding: 14px 18px;
    border-left: 3px solid var(--second-color);
    margin-top: 6px;
    border-radius: 8px;
    display: none;
    line-height: 1.6;
}

.faq-answer.open {
    display: block;
}

/* ===========================
   MOBILE RESPONSIVE
=========================== */

@media (max-width: 700px){
    .fs-title { font-size: 2rem; }
    .fs-services-title { font-size: 2rem; }
    .fs-tools-title { font-size: 2rem; }
    .fs-process-title { font-size: 2rem; }
    .fs-faq-title { font-size: 2rem; }
}

/* COLORS */
.red{ color:#ff0000; }

/* ================= NAV ================= */
.nav{
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6vw;
    z-index: 9999;
}

/* LOGO */
.logo{
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}
.desktop-only{ display: inline; }

/* DESKTOP MENU */
.nav-menu{
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-link{
    color: #fff;
    font-size: 15px;
}
.nav-link:hover{ color:#ff0000; }

/* BUTTON */
.btn{
    background:#ff0000;
    color:#000;
    padding:10px 26px;
    border-radius:30px;
    border:none;
    font-weight:600;
    cursor:pointer;
}

/* HAMBURGER */
.mobile-menu-icon{
    display:none;
    font-size:26px;
    color:#fff;
    cursor:pointer;
}

/* ================= MOBILE MENU ================= */
.mobile-menu{
    position: fixed;
    inset: 0;
    background: #000;
    padding: 35px 28px;
    display: none;
    z-index: 9998;
}

.mobile-menu.active{ display:block; }

/* MOBILE BRAND */
.mobile-brand{
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}
.mobile-brand span{ color:#ff0000; }

.brand-line-mobile{
    width: 200px;
    height: 3px;
    background: #ff0000;
    margin: 8px 0 28px;
}

/* MOBILE TITLE */
.mobile-title{
    font-size: 22px;
    font-weight: 600;
    color:#fff;
}
.mobile-title span{ color:#ff0000; }

.mobile-line{
    width: 220px;
    height: 3px;
    background:#ff0000;
    margin:10px 0 25px;
}

/* LINKS */
.mobile-links{
    list-style:none;
}
.mobile-links li{
    margin-bottom:22px;
}
.mobile-links a{
    color:#fff;
    font-size:17px;
}

/* SIGN IN */
.mobile-signin{
    width:100%;
    height:52px;
    margin-top:30px;
    background:#ff0000;
    color:#fff;
    border:none;
    border-radius:30px;
    font-size:16px;
    font-weight:600;
}

/* ================= RESPONSIVE ================= */
@media(max-width:900px){
    .nav-menu,
    .desktop-btn,
    .desktop-only{
        display:none;
    }
    .mobile-menu-icon{
        display:block;
    }
}

@media(min-width:901px){
    .mobile-menu,
    .mobile-menu-icon{
        display:none !important;
    }
}

/* =========================================
   JAVA DEVELOPMENT — HERO SECTION
========================================= */

#page1{
    min-height: 100vh;
    padding-top: var(--nav-height, 110px); /* prevent navbar overlap */
    display: flex;
    align-items: center;
    background: #000;
}

/* CONTAINER */
.hero-container{
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 8vw;
}

/* LAYOUT */
.hero{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* LEFT CONTENT */
.hero-left{
    flex: 1;
    max-width: 640px;
}

.hero-left h1{
    font-size: clamp(2.6rem, 5vw, 5.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 22px;
}

.hero-left h1 span{
    color: #ff0000;
    text-shadow: 0 0 18px rgba(255,0,0,0.6);
}

.hero-left p{
    font-size: 1.05rem;
    line-height: 1.75;
    color: #ddd;
    margin-bottom: 34px;
    text-align: justify;
}

/* BUTTONS */
.hero-buttons{
    display: flex;
    gap: 20px;
}

.hero-btn-primary,
.hero-btn-secondary{
    padding: 14px 34px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    transition: 0.3s ease;
    cursor: pointer;
}

/* PRIMARY */
.hero-btn-primary{
    background: #ff0000;
    color: #000;
    box-shadow: 0 0 20px rgba(255,0,0,0.45);
}

/* SECONDARY */
.hero-btn-secondary{
    background: transparent;
    color: #fff;
    border: 2px solid #ff0000;
}

.hero-btn-primary:hover,
.hero-btn-secondary:hover{
    transform: translateY(-3px);
    opacity: 0.9;
}

/* RIGHT IMAGE */
.hero-right{
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-right img{
    width: 100%;
    max-width: 520px;
    filter: drop-shadow(0 0 28px rgba(255,0,0,0.35));
}

/* ===============================
   TABLET (≤ 900px)
================================ */
@media (max-width: 900px){

    #page1{
        padding-top: calc(var(--nav-height, 110px) + 30px);
        min-height: auto;
    }

    .hero{
        flex-direction: column;
        gap: 42px;
        text-align: center;
    }

    /* IMAGE FIRST */
    .hero-right{
        order: 1;
    }

    /* TEXT SECOND */
    .hero-left{
        order: 2;
        max-width: 100%;
    }

    .hero-left p{
        max-width: 95%;
        margin: 0 auto 30px;
        text-align: justify;
    }

    .hero-buttons{
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ===============================
   MOBILE (≤ 600px)
================================ */
@media (max-width: 600px){

    .hero-left h1{
        font-size: 2.1rem;
    }

    .hero-buttons{
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }

    .hero-btn-primary,
    .hero-btn-secondary{
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .hero-right img{
        max-width: 320px;
    }
}

/* =========================================
   JAVA DEVELOPMENT — INTRODUCTION SECTION
========================================= */

.fs-intro{
    position: relative;
    width: 100%;
    padding: 110px 8vw;
    background: #000;
    overflow: hidden;
}

/* GRID OVERLAY */
.grid-overlay{
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,0,0,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,0,0,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.25;
    pointer-events: none;
}

/* CONTAINER */
.fs-container{
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

/* TITLE */
.fs-title{
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 18px;
}

.fs-title span{
    color: #ff0000;
    text-shadow: 0 0 14px rgba(255,0,0,0.6);
}

/* SUBTITLE */
.fs-subtitle{
    max-width: 900px;
    margin: 0 auto 70px;
    font-size: 1rem;
    line-height: 1.75;
    color: #ccc;
}

/* FEATURES GRID */
.fs-features{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

/* CARD */
.fs-card{
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    border-radius: 16px;
    padding: 38px 26px;
    transition: 0.35s ease;
}

.fs-card:hover{
    transform: translateY(-10px);
    border-color: #ff0000;
    box-shadow: 0 0 28px rgba(255,0,0,0.35);
}

/* ICON */
.fs-card i{
    font-size: 2.6rem;
    color: #ff0000;
    margin-bottom: 18px;
}

/* CARD TITLE */
.fs-card h3{
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

/* CARD TEXT */
.fs-card p{
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
}

/* BUTTONS */
.fs-buttons{
    display: flex;
    justify-content: center;
    gap: 20px;
}

.fs-btn-main,
.fs-btn-outline{
    padding: 14px 34px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s ease;
}

/* MAIN BUTTON */
.fs-btn-main{
    background: #ff0000;
    color: #000;
    border: none;
    box-shadow: 0 0 20px rgba(255,0,0,0.45);
}

/* OUTLINE BUTTON */
.fs-btn-outline{
    background: transparent;
    color: #fff;
    border: 2px solid #ff0000;
}

.fs-btn-main:hover,
.fs-btn-outline:hover{
    transform: translateY(-3px);
    opacity: 0.9;
}

/* ===============================
   LARGE TABLET (≤ 1100px)
================================ */
@media (max-width: 1100px){

    .fs-features{
        grid-template-columns: repeat(2, 1fr);
        gap: 26px;
    }
}

/* ===============================
   TABLET (≤ 900px)
================================ */
@media (max-width: 900px){

    .fs-intro{
        padding: 90px 20px;
    }

    .fs-subtitle{
        margin-bottom: 55px;
    }
}

/* ===============================
   MOBILE (≤ 600px)
================================ */
@media (max-width: 600px){

    .fs-title{
        font-size: 1.9rem;
    }

    .fs-features{
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 55px;
    }

    .fs-buttons{
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .fs-btn-main,
    .fs-btn-outline{
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}

/* =========================================
   JAVA DEVELOPMENT — SERVICES SECTION
========================================= */

.fs-services{
    width: 100%;
    padding: 110px 8vw;
    background: #000;
    text-align: center;
}

/* TITLE */
.fs-services-title{
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.fs-services-title span{
    color: #ff0000;
    text-shadow: 0 0 14px rgba(255,0,0,0.6);
}

/* SUBTITLE */
.fs-services-subtitle{
    max-width: 900px;
    margin: 0 auto 70px;
    color: #ccc;
    line-height: 1.75;
    font-size: 1rem;
}

/* GRID */
.fs-services-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* SERVICE BOX */
.fs-service-box{
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    border-radius: 16px;
    padding: 40px 30px;
    transition: 0.35s ease;
    text-align: left;
}

.fs-service-box:hover{
    transform: translateY(-10px);
    border-color: #ff0000;
    box-shadow: 0 0 28px rgba(255,0,0,0.35);
}

/* ICON */
.fs-service-box i{
    font-size: 2.6rem;
    color: #ff0000;
    margin-bottom: 18px;
    display: inline-block;
}

/* TITLE */
.fs-service-box h3{
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

/* TEXT */
.fs-service-box p{
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    text-align: justify;
}

/* ===============================
   LARGE TABLET (≤ 1100px)
================================ */
@media (max-width: 1100px){

    .fs-services-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 26px;
    }

    .fs-services-subtitle{
        margin-bottom: 55px;
    }
}

/* ===============================
   TABLET (≤ 900px)
================================ */
@media (max-width: 900px){

    .fs-services{
        padding: 90px 20px;
    }

    .fs-services-title{
        font-size: 2rem;
    }
}

/* ===============================
   MOBILE (≤ 600px)
================================ */
@media (max-width: 600px){

    .fs-services-grid{
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .fs-services-subtitle{
        font-size: 0.95rem;
        text-align: justify;
        margin-bottom: 45px;
    }

    .fs-service-box{
        padding: 34px 24px;
        text-align: center;
    }

    .fs-service-box p{
        text-align: justify;
    }
}

/* =========================================
   JAVA DEVELOPMENT — PROCESS SECTION
========================================= */

.fs-process{
    width: 100%;
    padding: 110px 8vw;
    background: #000;
    text-align: center;
}

/* TITLE */
.fs-process-title{
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.fs-process-title span{
    color: #ff0000;
    text-shadow: 0 0 14px rgba(255,0,0,0.6);
}

/* SUBTITLE */
.fs-process-subtitle{
    max-width: 900px;
    margin: 0 auto 70px;
    color: #ccc;
    line-height: 1.75;
}

/* GRID */
.fs-process-steps{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* STEP CARD */
.fs-process .step-box{
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    padding: 40px 30px;
    border-radius: 16px;
    transition: 0.35s ease;
    text-align: left;
}

.fs-process .step-box:hover{
    transform: translateY(-10px);
    border-color: #ff0000;
    box-shadow: 0 0 28px rgba(255,0,0,0.35);
}

/* STEP NUMBER */
.fs-process .step-number{
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    color: #ff0000;
    margin-bottom: 14px;
}

/* STEP TITLE */
.fs-process .step-box h3{
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

/* STEP TEXT */
.fs-process .step-box p{
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    text-align: justify;
}

/* ===============================
   LARGE TABLET (≤ 1100px)
================================ */
@media (max-width: 1100px){

    .fs-process-steps{
        grid-template-columns: repeat(2, 1fr);
        gap: 26px;
    }
}

/* ===============================
   TABLET (≤ 900px)
================================ */
@media (max-width: 900px){

    .fs-process{
        padding: 90px 20px;
    }

    .fs-process-title{
        font-size: 2rem;
    }

    .fs-process-subtitle{
        margin-bottom: 55px;
    }

    .fs-process-steps{
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .fs-process .step-box{
        text-align: center;
    }
}

/* ===============================
   MOBILE (≤ 600px)
================================ */
@media (max-width: 600px){

    .fs-process-steps{
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fs-process-title{
        font-size: 1.8rem;
    }

    .fs-process-subtitle{
        font-size: 0.95rem;
        text-align: justify;
        margin-bottom: 45px;
    }

    .fs-process .step-box{
        padding: 32px 24px;
    }

    .fs-process .step-number{
        font-size: 1.8rem;
    }
}

/* =========================================
   JAVA DEVELOPMENT — FAQ SECTION
========================================= */

.fs-faq{
    width: 100%;
    padding: 110px 8vw;
    background: #000;
}

/* TITLE */
.fs-faq-title{
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.fs-faq-title span{
    color: #ff0000;
    text-shadow: 0 0 14px rgba(255,0,0,0.6);
}

/* SUBTITLE */
.fs-faq-subtitle{
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    color: #ccc;
    line-height: 1.7;
}

/* CONTAINER */
.fs-faq-container{
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ ITEM */
.faq-item{
    margin-bottom: 18px;
}

/* QUESTION BUTTON */
.faq-question{
    width: 100%;
    background: #0d0d0d;
    color: #fff;
    padding: 18px 22px;
    border-radius: 10px;
    border: 1px solid #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.3s ease;
    text-align: left;
}

.faq-question:hover{
    border-color: #ff0000;
}

/* ARROW */
.faq-question .arrow{
    font-size: 1.4rem;
    color: #ff0000;
    font-weight: 600;
    margin-left: 12px;
}

/* ANSWER */
.faq-answer{
    display: none;
    background: #111;
    padding: 16px 22px;
    margin-top: 6px;
    border-radius: 10px;
    border-left: 3px solid #ff0000;
    color: #ccc;
    line-height: 1.65;
    font-size: 0.95rem;
}

/* OPEN STATE */
.faq-answer.open{
    display: block;
}

/* ===============================
   TABLET (≤ 900px)
================================ */
@media (max-width: 900px){

    .fs-faq{
        padding: 90px 20px;
    }

    .fs-faq-title{
        font-size: 2rem;
    }

    .fs-faq-subtitle{
        margin-bottom: 45px;
    }
}

/* ===============================
   MOBILE (≤ 480px)
================================ */
@media (max-width: 480px){

    .faq-question{
        font-size: 0.95rem;
        padding: 16px 18px;
    }

    .faq-answer{
        font-size: 0.95rem;
        padding: 14px 18px;
        text-align: justify;
    }

    .faq-question .arrow{
        font-size: 1.2rem;
    }
}

/* UNIVERSAL BUY NOW BUTTON */
.buy-now-btn {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 12px 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
}

.buy-now-btn i {
    font-size: 14px;
}

/* Hover */
.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,0,0,0.3);
}

/* Desktop */
.desktop-btn {
    min-width: 140px;
}

/* Mobile */
.mobile-btn {
    text-align: center;
    font-size: 15px;
    padding: 14px;
}

/* Prevent link styling issues */
.buy-now-link {
    text-decoration: none;
}

/* ===============================
   COURSE MODAL (REUSABLE)
================================= */
.course-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.course-modal.active {
    display: flex;
}

.course-modal-box {
    background: #0c0c0c;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border: 1px solid #ff0000;
}

.course-modal-box h3 {
    margin-bottom: 20px;
    color: #fff;
}

.course-modal-box select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background: #000;
    color: #fff;
    border: 1px solid #444;
    border-radius: 6px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* =========================================
   MOBILE BUY NOW FIX – JAVA PAGE (CSS ONLY)
========================================= */

/* Hide desktop Buy Now button on mobile */
@media (max-width: 768px) {
    .desktop-btn {
        display: none !important;
    }
}

/* Hide mobile menu by default */
.mobile-menu {
    display: none;
}

/* Show mobile menu only when hamburger is clicked */
.mobile-menu.active {
    display: block;
}

/* Hide mobile Buy Now everywhere by default */
.mobile-btn {
    display: none;
}

/* Show Buy Now ONLY inside opened hamburger menu */
.mobile-menu.active .mobile-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
}
